Hi,
I have a form with a button which allows the user to save the record using
This will generate a standard Access error (run-time error 3314) message if the user tries to save the record with required fields missing.
I wanted to pick this up in the Forms OnError event and display my own custom message but when this error is generated it doesn't trigger this event.
Why not!?
I have a form with a button which allows the user to save the record using
Code:
DoCmd.RunCommand acCmdSaveRecord
This will generate a standard Access error (run-time error 3314) message if the user tries to save the record with required fields missing.
I wanted to pick this up in the Forms OnError event and display my own custom message but when this error is generated it doesn't trigger this event.
Why not!?