Hello,
I have a Access 2003 form that I've added some error handling code to the Form Before Update event that prevents the user from leaving required fields empty. The trouble is, when the user tries to exit Access while leaving a required field empty they receive two messages:
The first = the message that I have programmed
The second = a default Access error message which is what I'm trying to avoid in the first place since it's confusing to the user![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
The error code is 2169 - I have the following code to perform actions when these errors occur, but am not sure of what statements to write within to get the default Access error messages to not appear, or disappear once they've triggered.
Private Sub Form_Error(DataErr As Integer, Response As Integer)
Select Case DataErr
Case 2169
????
End Select
End Sub
Thanks!!
I have a Access 2003 form that I've added some error handling code to the Form Before Update event that prevents the user from leaving required fields empty. The trouble is, when the user tries to exit Access while leaving a required field empty they receive two messages:
The first = the message that I have programmed
The second = a default Access error message which is what I'm trying to avoid in the first place since it's confusing to the user
The error code is 2169 - I have the following code to perform actions when these errors occur, but am not sure of what statements to write within to get the default Access error messages to not appear, or disappear once they've triggered.
Private Sub Form_Error(DataErr As Integer, Response As Integer)
Select Case DataErr
Case 2169
????
End Select
End Sub
Thanks!!