Home » Developer & Programmer » Forms » record grouping populating problem
record grouping populating problem [message #256087] Fri, 03 August 2007 00:20 Go to next message
sispk6
Messages: 164
Registered: November 2006
Location: pakistan
Senior Member
=====

i get the error cannot add rows to group
========please some one help

declare
G_ID RECORDGROUP := FIND_GROUP('RG');
TOT_ROWS NUMBER;
NEW_ROW NUMBER;
begin
TOT_ROWS := GET_GROUP_ROW_COUNT(G_ID);
message(' total rows '|| tot_rows);
add_group_row(G_ID , 1);
-- message ( ' rec group ---'||G_ID);
NEW_ROW := TOT_ROWS + 1;
message(' new row=='||new_row);
SET_GROUP_NUMBER_CELL('RG.EMPNO',NEW_ROW , 1);
SET_GROUP_CHAR_CELL('RG.EMPNO',NEW_ROW , 'IMTIAZ');
MESSAGE('RECORD SAVE');
end;
==================
Re: record grouping populating problem [message #256581 is a reply to message #256087] Mon, 06 August 2007 01:24 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Please use 'code' tags to make your post readable.

Don't you need to have a 'create' in there somewhere?

Please search this forum for 'add_group_row' to see what other people have done.

David
Previous Topic: How can I cancell query at run time
Next Topic: how to use MS-Project in oracle forms and Move data from MS-Project to oracle forms and back (merged
Goto Forum:
  


Current Time: Sat Dec 03 18:16:05 CST 2016

Total time taken to generate the page: 0.06289 seconds