Home » Developer & Programmer » Forms » want it urgent.
want it urgent. [message #87443] Tue, 04 January 2005 23:34 Go to next message
sujjitha
Messages: 1
Registered: January 2005
Junior Member
hi all,

when i press a button i want to move to the next record so fot that i am using the Next_record. here when i reach the last record i want to say that i have reached the last record as a message..

when i reach the first record also the same that i have reached the first record..
how to do that..

thanks for help,,

sujji.
Re: want it urgent. [message #87450 is a reply to message #87443] Wed, 05 January 2005 12:23 Go to previous messageGo to next message
xyz
Messages: 9
Registered: January 2002
Junior Member
you can navigate thru the records using the up and down arrow key.

In the When-new-record-instance trigger, display the message based on system.first_record and system.last_record
Re: want it urgent. [message #87455 is a reply to message #87450] Wed, 05 January 2005 19:59 Go to previous message
Himanshu
Messages: 457
Registered: December 2001
Senior Member
Hi,
Create a trigger ON-Message on the Form level and add following code to it:

If Message_Code = 40100 Then
Message('I: First Record.',NO_ACKNOWLEDGE) ;
ElsIf Message_code = 40352 then
Message('I: Last Record.',NO_ACKNOWLEDGE) ;
End If;

HTH
Regards
Himanshu
Previous Topic: key-fn
Next Topic: serial no
Goto Forum:
  


Current Time: Mon Sep 16 13:09:28 CDT 2024