G
Guest
I have a form that currently prompts workers to enter their shift number (1
or 2). I would like to automate this so if the time is between 3:30 AM and
3:30 PM, the shift is 1, with a shift of 2 at all other times. I have tried
using a set value macro with an if statement of
iif (Time() between #3:30:00am# and #3:30:00pm#, 1, 2)
but I am not able to use the time() function here (I do not use it anywhere
else in the database).
How can I automatically set the shifts?
Thank you
or 2). I would like to automate this so if the time is between 3:30 AM and
3:30 PM, the shift is 1, with a shift of 2 at all other times. I have tried
using a set value macro with an if statement of
iif (Time() between #3:30:00am# and #3:30:00pm#, 1, 2)
but I am not able to use the time() function here (I do not use it anywhere
else in the database).
How can I automatically set the shifts?
Thank you