>I have a form with a grid on it in which I want the user to be in the last record in the grid when the form is shown. In the init of the form I am issuing a GO BOTTOM to access the last record. However when the grid is displayed, the last record is shown as the first (top) row of the grid. If I issue a GO BOTTOM followed by SKIP -N I can fill in the rows of the grid, but then the current is not the last record.
>
>What I want is, on entry to the form, the current record to be the last record in the record set and for that record to be displayed as the last ( or near last ) row in the grid. Any ideas on how to do this?
>
>Thanks,
>Bill
The simplest way is to use Grid.Doscroll(0) looped as many times as number of records you want to show on top of the last on.
Edward Pikman
Independent Consultant