Hi Bhavbhuti,
>Hi all
>
>How to set the focus to the first column and the first row in a grid. I don't know when the user is clicking Save, so I need to go to the first record and set focus to the first visible column (not column no.). This is in a class so I cannot predict column names.
>
>Thanks and regards.
Try:
GOTO TOP IN (thisForm.myGrid.RecordSource)
thisForm.myGrid.Column1.SetFocus()
Good luck!
Erick
Força Sempre!
Strength Always!