in about 4 of my textboxes i have code in the on exit event to prevent the user from not entering data the code is a follows
If IsNull([Text90]) Then
MsgBox "You Must make an entry"
Me![Text90].SetFocus
DoCmd.CancelEvent
End If
my problem is that when i press the close button, i get the msgboxes popping up for each textbox that has this code. the form closes but i have to press ok on each of the msgboxes.
thanks
If IsNull([Text90]) Then
MsgBox "You Must make an entry"
Me![Text90].SetFocus
DoCmd.CancelEvent
End If
my problem is that when i press the close button, i get the msgboxes popping up for each textbox that has this code. the form closes but i have to press ok on each of the msgboxes.
thanks