hamrthroer
Registered User.
- Local time
- Yesterday, 22:16
- Joined
- Jul 30, 2008
- Messages
- 33
I have a Form with two subforms. The user enters a value into a textbox named NUMBER. The OnEnter event populates sfrmInfo with the fields; NUMBER, LAST_NAME, FIRST_NAME, ADDRESS. I have some validation code and if the NUMBER is valid an Add Record command button appears and they can then add the record. If the NUMBER is false a msg box pops up blah blah and they click ok. I'm trying to use Docmd.GoToControl to go into the number text box on the main form but all the code I've tried puts it into the sfrmInfo text box of the same name (NUMBERS). The dude that wrote this had no clue about naming conventions. Whats the surefire way of distinguishing which control to go to?
I'm a bit of a Newbie so be gentle...
I'm a bit of a Newbie so be gentle...