What I was cautioning about was using LASTKEY() in the LostFocus of a control to predict what the user is trying to do. It the user is clicking to a record two rows up, LASTKEY() may equal TAB, but the user is moving up, not down. I DO use LASTKEY() to determine the user's intentions, but only when I am in a column that can't be moused to. (As in the zero width navigation column).
>Hi
>
>You can check if you are in grid or other control is active
Charlie