G
Guest
I have two fields (military hour format) on a form. A user sometimes forgets
to enter on the first field and enters only on the second field. I don't want
to required a fields, but I just want the user to be aware he/she didn't
enter on the first field
1st field 2nd field
Bed_time and Rec_time
Here is my code in the "Before Update" in the Rec_time Property , but it
doesn't work
If IsEmpty(BED_TIME) Then
MsgBox "Bed Time is Blank" & vbCrLf & _
"Enter Bed Time first!", vbCritical + vbOKOnly, _
"Invalid!"
Cancel = True
endif
to enter on the first field and enters only on the second field. I don't want
to required a fields, but I just want the user to be aware he/she didn't
enter on the first field
1st field 2nd field
Bed_time and Rec_time
Here is my code in the "Before Update" in the Rec_time Property , but it
doesn't work
If IsEmpty(BED_TIME) Then
MsgBox "Bed Time is Blank" & vbCrLf & _
"Enter Bed Time first!", vbCritical + vbOKOnly, _
"Invalid!"
Cancel = True
endif