I have a table which has a field with 'Requiered=Yes'.
A form is based on this table.
When I open the form (in form view) and edit a record, I leave this field empty. Null.
When I click on another field in the form, a message pops up showing the error:
Cannot update because the field is Required and cannot contain null value.
(everything as expected)
How can I do error handling?
The 'On Error' event of the form is not raised, the error does not happen in the "Before update' of the control...
I have put code to show me message if the error happens, in:
The control's before update.
In the form's before update.
In the Form_Dirty.
In the form Error event.
Nothing, the only error is raised from the application: