craigachan
Registered User.
- Local time
- Yesterday, 22:14
- Joined
- Nov 9, 2007
- Messages
- 285
How do I interupt a formclose event base on my criteria? I've tried:
Private Sub Form_Close()
If Not IsNull(Forms!NotesAnesSx!nsxDOS) And IsNull(Forms!NotesAnesSx!Start) Then
MsgBox "Please Enter Start Time"
End
End If
End Sub
But the form still closes. I want to stop the form from closing. Thanks for your help.
Private Sub Form_Close()
If Not IsNull(Forms!NotesAnesSx!nsxDOS) And IsNull(Forms!NotesAnesSx!Start) Then
MsgBox "Please Enter Start Time"
End
End If
End Sub
But the form still closes. I want to stop the form from closing. Thanks for your help.