>>I need to automatically go to the next row down in a grid after entering data in the last column. ANy suggestions?
>>
>>Shane
>
>Simple. Just put some code in the KeyPress() event of the last column object (usually a textbox) like this:
>
>IF nKeyCode = 13 OR nKeyCode = 9
> KEYBOARD '{DNARROW}'
>ENDIF
></PREV>
<PRE>If you want to go to the first column of the next row, you could add {RIGHTARROW} to that.
HTH,
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing