A
Adriana
I have a form with [Start_Time] and [Stop_Time] and a {Shift] field that has
two choices, 1st and 2nd. I tried using an IIf statement in the shift field
(control source) but it's not working. I want it to return a value of 1st if
the time is equal to or above 7:00 AM. Between 7:00 AM to 3:30 PM is first
shift, anything after is second. What am I doing incorrectly? It tells me I
don't have a operand or operator.
=IIf([Start_Time]>=7:00 AM; "1st", 2nd"))
two choices, 1st and 2nd. I tried using an IIf statement in the shift field
(control source) but it's not working. I want it to return a value of 1st if
the time is equal to or above 7:00 AM. Between 7:00 AM to 3:30 PM is first
shift, anything after is second. What am I doing incorrectly? It tells me I
don't have a operand or operator.
=IIf([Start_Time]>=7:00 AM; "1st", 2nd"))