G
Guest
I'm having an issue with TIME. I'm checking the time and, if it's after 2:00
p.m., I want to set a control on a form to tomorrow (next day).
It's wierd, but if the form is used BEFORE 10:00 a.m, the control is set to
tomorrow's date. I only want it to set it to tomorrow's date if it's AFTER
2:00 p.m.
The code:
++++++++++++++++
'Check Time
If Time > "14:00:00" Then
'AFTER Cut-Off Time , Set field Date = Tomorrow
Me.field = Date + 1
'End Check Time
End If
++++++++++++++++
Any help that you can provide is welcome. Thanks, in advance, for your
assistance.
G
p.m., I want to set a control on a form to tomorrow (next day).
It's wierd, but if the form is used BEFORE 10:00 a.m, the control is set to
tomorrow's date. I only want it to set it to tomorrow's date if it's AFTER
2:00 p.m.
The code:
++++++++++++++++
'Check Time
If Time > "14:00:00" Then
'AFTER Cut-Off Time , Set field Date = Tomorrow
Me.field = Date + 1
'End Check Time
End If
++++++++++++++++
Any help that you can provide is welcome. Thanks, in advance, for your
assistance.
G