I am stumped (already!).
This is my first Access prog, my first form and my first field on that form. It is an unbound form, with 10 entry fields and 2 buttons, one to check/save the data.
When the AfterUpdate event occurs for Field1 (key data), I am checking a)is the field blank (if so display msgbox to enter data) else if not blank, see if record already exists. (if so, msgbox informs user). Two additional events occur after: Exit and LostFocus.
What I want to happen is: When the user needs to enter a number (a) or another number (, I want focus to return to (or remain in) Field1. To no avail, no matter where I place the Field1.SetFocus method in these events (LostFocus seems most likely place), the focus jumps to Field2, the next tab stop.
What am I doing wrong?