Position to Last Grid Row

jdeman

Active Member
Hi List,
Sorry if this has been previously covered.
I have a question:-
I have a Find/Browse form and want to display the last grid row screen after all the rows are populated in the grid. Can any one pl. let me know how to do that ??
I have disabled page-at-a-time processing. I tried adding a dummy row after the last grid row and deleting it hoping to focus on the last grid and thereby (some how) displaying the last grid row screen. But No success.
Any help is highly appreciated.
Thanks
jdeman
 
To get to the last grid row use these 2 system functions: GetMaxGridRows and GetGridRow. Use GetMaxGridRows to get the number of grid rows. Use GetGridRow, pass in the valud you got from GetMaxGridRows, to set focus on last grid row.
|
 
Back
Top