S
Steve
Hi, I am having trouble with the following code.
I have a field called ClearanceCode and six different date/times fields. If
the clearance code is completed and one of the date/time fields isn't i want
a message box to display that the date/times fields need to be completed.
I can get the code to work on an individual clearnce code but want it to
work just if the Clerance code is complete as I have about 20 different
clearance codes. ie "OU","NHA","RIC" etc
Heres the code
If Me![Clearancecode] = "OU"
And IsNull(Me![Timerec'd@customer]) = True Then
MsgBox"Please fill in the date/time fields"
Cancel = True
Cheers Steve
I have a field called ClearanceCode and six different date/times fields. If
the clearance code is completed and one of the date/time fields isn't i want
a message box to display that the date/times fields need to be completed.
I can get the code to work on an individual clearnce code but want it to
work just if the Clerance code is complete as I have about 20 different
clearance codes. ie "OU","NHA","RIC" etc
Heres the code
If Me![Clearancecode] = "OU"
And IsNull(Me![Timerec'd@customer]) = True Then
MsgBox"Please fill in the date/time fields"
Cancel = True
Cheers Steve