Looping in form using first record next record [message #397441] |
Fri, 10 April 2009 13:53 |
cool_coder
Messages: 17 Registered: September 2008
|
Junior Member |
|
|
Hi,
I am having issues with a form which processes all the records in a block ABC..
Code is below and sometimes it skips multiple record and somtimes one record..
---------------------------------------------------
GO_BLOCK(ABC');
FIRST_RECORD;
loop
processing --
NEXT_RECORD;
exit when :SYSTEM.LAST_RECORD = 'TRUE';
end loop;
---------------------------------------------------
in my view , NEXT_RECORD should come after LAST_RECORD = 'TRUE' call..and that is responsible for skipping one record from processing....and not able to justify multiple skips...
any other thoughts?
Thanks
|
|
|
|
|
|