Hello!
I need to be able to trap two errors on the On Error event of my form. What I have listed is not working. Can someone assist me!
If DataErr = 3201 Then
MsgBox "Message 1."
Response = acDataErrContinue
Else
If DataErr = 3022 Then
MsgBox "Message 2."
Response = acDataErrContinue
Else
MsgBox "Error No.:" & DataErr
End If
I need to be able to trap two errors on the On Error event of my form. What I have listed is not working. Can someone assist me!
If DataErr = 3201 Then
MsgBox "Message 1."
Response = acDataErrContinue
Else
If DataErr = 3022 Then
MsgBox "Message 2."
Response = acDataErrContinue
Else
MsgBox "Error No.:" & DataErr
End If