Reposition browse to last screen of records

I know I've done this before but the answer escapes me now :mad:

Can anyone tell me how to scroll to the last screen of records in a browse?

I have a browse displaying dated transactions and on startup I want to present the user with the most recent records (in ascending date order).

Thanks in advance.
 
Use a buffer

Use a buffer to open your query to first. Once you have opened your query store the record num of the last row in a var iEndRec, start to display the ouput to screen / live / browser where the record num is iEndRec - 10 (or the number of rows your browser is configured to display)
Have fun
 
Back
Top