I have a text box with an EXIT event that will check for null value. If null, a message to user is displayed and the focus is set to the text box. Well, that's not what it is doing. It displays message but it goes to next control...
See code below:
Thanks for any feedback.
See code below:
Code:
If Isnull(Me!DOB) Then
MsgBox "Date of Birth cannot be null. Please enter.", vbOKOnly
Me!DOB.SetFocus
End If
Thanks for any feedback.