>i have a grid with 5 columns. I am on the first record and i move with ENTER until column5 and when i press ENTER again i want to go to the first column on the next record of the grid, not on the first column of the actual record.
>I try to put in the valid event of column5.text1 SKIP, but it not working.
>I try to put in the lostfocus event of column5.text1 thisform.command1.setfocus and in the command1.gotfocus SKIP and thisform.grid1.setfocus but it's skiping 2 record !!!
>
>Please HELP MEEEEEEEEEEEE !!!!
In the KeyPress event of the textbox in Column5, simply put:
IF nKeyCode = 13
KEYBOARD "{DNARROW}"
ENDIF
HTH
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net
CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."