I am currently using the following Select Case Statement
PHP:
Dim Id As String
Id = DLookup("signedoff", "Check")
Select Case Id
Case "X"
Me.RunMacro.SetFocus
Case Is <> "X"
MsgBox ("This vendor has not been signed off for the selected period.")
Me.Period.SetFocus
End Select
The values of signedoff is either X or null
Regards
Carly