Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

record position in block 1

Status
Not open for further replies.

carolinaof

Programmer
Oct 1, 2001
26
BR
Is there any way I can scroll to the selected record in a block in forms, so that it will appear in the first position? go_record select the record, but does not place it on the top of the block.

Thanks in advance for help.
 
Use this code:

go_record(<record_number> + to_number(get_block_property('<block>',records_displayed)) - 1);
Go_Record(<record_number>);
 
Thank you for such a simple solution. It was very helpful.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top