>I have a grid list which displays a local view.
>These are the settings of some of the properties of the grid:
>
>DeleteMark = .F.
>AllowAddNew = .F.
>ReadOnly = .T.
>RecordMark = .F.
>SplitBar = .F.
>
>I also have several command buttons below the grid one of which is an "Edit button". When clicking on the 'Edit' command button, I pop up "Edit" screen with DO FORM.... and I allow and edit of the fields of the current record the user is on within the grid. I issue a TABLEUPDATE() command to save changes and Refresh() the grid to display the modifications.
>
>My problem is that my grid record pointer goes back to the top of the grid (beginning of the local view). I wish that the pointer stay on the record the user selected without automatically moving to the top.
>
>Is there a way of achieving this?
>
>Thanks to all!
Save the record number before doing your TABLEUPDATE(). After you've done the update, move the pointer back to the saved record and then refresh things.