>Hi Eric,
>
>>Well the thing is that I am trying to avoid the setfocus on the grid because I need the user to stay on another field outside the grid on the form.
>
>Something like this might help:
>
> Local loObj
> loObj = Thisform.ActiveControl
> Thisform.Grid.SetFocus()
> loObj.SetFocus()
>
>Christof
One of these days, I will be able to program in VFP and help others... :-)
Thank you Christof for your help.