Home » Developer & Programmer » Forms » Enumerating records in block in Forms
Enumerating records in block in Forms [message #83006] Fri, 25 July 2003 01:46 Go to next message
Angus
Messages: 18
Registered: October 2000
Junior Member
Hi,

I have a block in Forms that I want to validate. The blocks data comes from the DB, but user may enter more data as required. To validate I was going to loop through the records but the loop only seems to enumerate through the records fetched from Db not records added by user.

Here is the code to enumerate records in block:

go_block('B3') ;

first_record ;

while :system.last_record = 'FALSE' loop

processing...

next_record ;

end loop ;

I cant validate each record as it gets inserted as there must be a combination of records to be correct.

Any help/pointers will be great.

Thanks
Re: Enumerating records in block in Forms [message #83008 is a reply to message #83006] Fri, 25 July 2003 02:22 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
What trigger on what level have you used?

MHE
Re: Enumerating records in block in Forms * RESOLVED [message #83009 is a reply to message #83006] Fri, 25 July 2003 02:27 Go to previous message
Angus
Messages: 18
Registered: October 2000
Junior Member
sorry, my dumb-ass loop was faulty.
Previous Topic: frm-41032
Next Topic: Question..
Goto Forum:
  


Current Time: Thu Mar 28 13:13:42 CDT 2024