G
Guest
I have a form with a field [PassFail] where the required entry is either
Null, the word PASS or the word FAIL. I want to code an After Update Event
for a MsgBox if the entry in the field is not Null, PASS or FAIL. I've tried
various methods to no avail. Here's my last attempt -- I'm getting a Runtime
error 424: Object Required error:
If Me.PassFail Is Not Null And Not Me.PassFail = "Pass" And Not Me.PassFail
= "Fail" Then
MsgBox ("Please input 'Pass' or 'Fail' only"), vbCritical, , , vbOK
End If
Please tell me what I need to code to get the message box to display. I'm
using Access 2002. Thanks!
Null, the word PASS or the word FAIL. I want to code an After Update Event
for a MsgBox if the entry in the field is not Null, PASS or FAIL. I've tried
various methods to no avail. Here's my last attempt -- I'm getting a Runtime
error 424: Object Required error:
If Me.PassFail Is Not Null And Not Me.PassFail = "Pass" And Not Me.PassFail
= "Fail" Then
MsgBox ("Please input 'Pass' or 'Fail' only"), vbCritical, , , vbOK
End If
Please tell me what I need to code to get the message box to display. I'm
using Access 2002. Thanks!