S
scott04
I am trying to put code into a field to give it an error message and set
focus if the field is blank. The code that i am using is:
If Me.Requested_By = isnull Then
MsgBox "Please enter who requested this service request", vbCritical
Me!Requested_By.SetFocus
End Sub
Please let me know what isnt correct or a better way to do this? Thanks
focus if the field is blank. The code that i am using is:
If Me.Requested_By = isnull Then
MsgBox "Please enter who requested this service request", vbCritical
Me!Requested_By.SetFocus
End Sub
Please let me know what isnt correct or a better way to do this? Thanks