M
maxjake via AccessMonster.com
Hi All
This code works great, BUT i want the form to close or be read only if the
[Job Completes] equals null
Do I use else??
Private Sub Form_Unload(Cancel As Integer)
If IsNull(Me.[Passed To]) And Not IsNull(Me.[JOB COMPLETES]) Then
MsgBox "Who have the works been Passed To?", vbExclamation, "Invalid
Operation "
Cancel = True
End If
End Sub
Thanks
Max
This code works great, BUT i want the form to close or be read only if the
[Job Completes] equals null
Do I use else??
Private Sub Form_Unload(Cancel As Integer)
If IsNull(Me.[Passed To]) And Not IsNull(Me.[JOB COMPLETES]) Then
MsgBox "Who have the works been Passed To?", vbExclamation, "Invalid
Operation "
Cancel = True
End If
End Sub
Thanks
Max