B
Bob Barnes
Have an Unbound Form w/ a ListBox and several Dropdowns w/ SQL Statements.
Getting, sometimes..when Clicking one of 2 Buttons. I have Error Traps w/
"Stop" on all possible Controls affected by Clicking the "offending" Buttons.
Error 3314: The field 'Mcns.McnID' cannot contain a Null value because the
Required property for this field is set to True. Enter a value in this field.
Had read in archive Posts that code like this should trap and "gracefully
exit" the Error...(but it hasn't)..
Private Sub Form_Error(DataErr As Integer, Response As Integer)
Select Case DataErr
Case 3314
On Error Resume Next
Case Else
MsgBox "The form error, " & DataErr & " has occurred.", vbOKOnly, "Error"
End Select
Any Tips? TIA - Bob
Getting, sometimes..when Clicking one of 2 Buttons. I have Error Traps w/
"Stop" on all possible Controls affected by Clicking the "offending" Buttons.
Error 3314: The field 'Mcns.McnID' cannot contain a Null value because the
Required property for this field is set to True. Enter a value in this field.
Had read in archive Posts that code like this should trap and "gracefully
exit" the Error...(but it hasn't)..
Private Sub Form_Error(DataErr As Integer, Response As Integer)
Select Case DataErr
Case 3314
On Error Resume Next
Case Else
MsgBox "The form error, " & DataErr & " has occurred.", vbOKOnly, "Error"
End Select
Any Tips? TIA - Bob