justphilip2003
Registered User.
- Local time
- Yesterday, 22:49
- Joined
- Mar 3, 2013
- Messages
- 30
I have several fields that require data entry, combo boxes and simple text boxes. When I skip one of the require fields and depress my enter command button, an error message box appears with a message similar to (Run Time Error 3314 you must enter value in the ‘MainTbl.MainPur’ field). I believe on-error logic in the CmdEnter button Event is needed.
My problem is how to intercept these message an capture the field name in it so that I can post my own message in my “scrMessages’ field (ie. Trap error, Redirect program Flow to my error handler and end VBA error message by redirecting program flow to the missing field). TIA JP
My problem is how to intercept these message an capture the field name in it so that I can post my own message in my “scrMessages’ field (ie. Trap error, Redirect program Flow to my error handler and end VBA error message by redirecting program flow to the missing field). TIA JP