M
maxjake via AccessMonster.com
Hi All
Please Help.
I have a form that opens on click of a option group button. When the form
opens I require fields to be completed before the form can be closed.
Private Sub Form_Close()
If IsNull(Me.[Passed To]) Then
MsgBox "Who have the works been Passed To?", vbExclamation, "Invalid
Operation"
End If
End Sub
This code gives me the message that I want when I try to close the form BUT
then the form closes without the required field completed.
What code will stop the form from closing until the field is completed?????
Ta
Max
Please Help.
I have a form that opens on click of a option group button. When the form
opens I require fields to be completed before the form can be closed.
Private Sub Form_Close()
If IsNull(Me.[Passed To]) Then
MsgBox "Who have the works been Passed To?", vbExclamation, "Invalid
Operation"
End If
End Sub
This code gives me the message that I want when I try to close the form BUT
then the form closes without the required field completed.
What code will stop the form from closing until the field is completed?????
Ta
Max