I use a text box and a grid to enter data into another grid. If I double click on the record in grid A, it calls ADD and then sets the focus to a field in grid B, like it's supposed to. However, if I use the arrow keys to move down to the record and press <ENTER> on the record in grid A, it calls ADD and sets the focus to the field in grid B, but then moves the focus to the text box. Any idea why the same code sets the focus differently depending on whether it's called from a dblclick or from a keypress?
Thanks,
Eve
Thanks,
Eve