Marcia,
Please disregard my last message.......It did work....I cut and pasted your reply code and did not change the column # to 6. Once I discovered that and changed it everything worked as I wanted......
Many, many thanks,
Greg
>Hello greg.
>
>>> I'm trying to move the cursor from column3 to column6 in a grid after a valid. This code,thisform.grid1.activatecell(thisform.grid1.activerow,6), seems to be the way to do it but it's not working. <<
>
>Try this in the KeyPress of the textbox in column3 instead:
>
>
>IF INLIST( nKeyCode, 9, 13 )
> This.Parent.Parent.Column4.SetFocus()
> NODEFAULT
>ENDIF
>