Chuck,
Try trapping the keypress in the lostfocus and, if it's CHR(24), issuing an INKEY() before your KEYBOARD command. Or just skip the KEYBOARD command in that case.
Regards,
Jim
>
I am using VFP6 and have a grid on a form that is used for quick input into 5 fields. Problem is the user wants the cursor to automatically go to the next row after entering the last column which is an amount. I have tried to use the "KEYBOARD '{DNARROW}'" in the lostfocus and beforerowcolchange. The BRCC does work except when the user tries to edit an amount and presses the down arrow, the cursor jumps to last last entry and adds 2 blank records, not good. There are no "this.refresh" commands in the grid. Is there any way to get around that behavior?
>
>Thanks, Chuck
Jim