C
clueless
Hi,
I am trying to put an IIf statement together. What I need it to basically
do is if a carrier arrives before 13:00 (1 pm), it's early. If it arrives
after 16:00 (4 pm), it's late, between 13:00 (1 pm) and 16:00 (4 pm) it is on
time. It does not error in design view but when I go to datasheet view, the
column reads Error. I would appreciate any help, not sure what I am doing
wrong. Thanks!
Expr1: IIf([SealNumber]="LTL" Or "LCL" And [ArrivalTime] Between "04:00" And
"12:59","early",IIf([SealNumber]="LTL" Or "LCL" And [ArrivalTime] Between
"16:01" And "03:59","Late","OnTime"))
I am trying to put an IIf statement together. What I need it to basically
do is if a carrier arrives before 13:00 (1 pm), it's early. If it arrives
after 16:00 (4 pm), it's late, between 13:00 (1 pm) and 16:00 (4 pm) it is on
time. It does not error in design view but when I go to datasheet view, the
column reads Error. I would appreciate any help, not sure what I am doing
wrong. Thanks!
Expr1: IIf([SealNumber]="LTL" Or "LCL" And [ArrivalTime] Between "04:00" And
"12:59","early",IIf([SealNumber]="LTL" Or "LCL" And [ArrivalTime] Between
"16:01" And "03:59","Late","OnTime"))