Home » Developer & Programmer » Forms » system.last record on Library
system.last record on Library [message #215775] Tue, 23 January 2007 19:41 Go to next message
wency
Messages: 450
Registered: April 2006
Location: Philippines
Senior Member

I have to convert this type of code from program unit into library. The problem is I can't pass ":system.last_record" as parameter because it must get its value while reading the block.
With these code in library, compiler flag bad bind variable error.

    go_block('DETAILS');
    first_record;
      loop
    --some codes
       If :system.last_record = 'TRUE' then
	Exit;
       Else
          Next_record; 
       End If;

      end loop;
Re: system.last record on Library [message #215795 is a reply to message #215775] Tue, 23 January 2007 22:56 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Use 'name_in' and 'copy' commands.

David
Re: system.last record on Library [message #215872 is a reply to message #215775] Wed, 24 January 2007 02:30 Go to previous message
wency
Messages: 450
Registered: April 2006
Location: Philippines
Senior Member

thanks David.
Previous Topic: forms 6i as webservice
Next Topic: marking record
Goto Forum:
  


Current Time: Sat Dec 14 13:16:21 CST 2024