>I use a grid for a manual entry process. Two problems:
>1. I use 2 events to advance to the next row.
>A. Valid - I check for INKEY()=13(enter)or 24(dnarrow) if it is on the last record (does not work)
>B. BeforeRowColChange same routine as valid but does work
>PROBLEM: It appears that when there is only one "displayed" row left and the dnarrow is pressed the pointer goes back one row.
Try putting this code in the textbox's keypress event instead of it's valid. Then, you don't use INKEY() but just check the value of nKeyCode.
Erik Moore
Clientelligence