>Hi Randy,
>I much prefer the KeyPress to any other method.
>
>LPARAMETERS nKeyCode, nShiftAltCtrl
>IF m.nKeyCode = 13
> NODEFAULT
> WITH This.Parent.Parent
> .ActivateCell(.RelativeRow + 1,.ActiveColumn-.LeftColumn+1)
> ENDWITH
>ENDIF
>
>
>
>>I am trying to automate the movement of the cursor in a grid. After the user enters data in the default textbox of column 3, I want the cursor to stay in this colmn and move down one row. I have tried placing the appropriate SKIP command in the LostFocus method but haven't gotten the results I want. I have also tried setting the proper row and column using the ACTIVATECELL function.
>>
>>Any help would be appreciated
Charlie,
Like you, I decided to use the KeyPress method. I will give it a try.
Thank you,
Randy Barnett
Ascension Capital Group
Arlington, Texas USA