Need help with setting a criteria in a query.
Table is called Employee. I use this query to select your name from a combo box on a form. I am wanting it to only show the names of employee's on day shift during those hours and night shift during their hours. I have A field named "Shift" it has Day or Night.
What I'm trying to do:
Night = Between (current time.value) "00:00" and "03:00"
Day = Between (current time.value) "7:00" and "16:30"
Night = Between (current time.value) "16:31" and "23:59"
:banghead::banghead::banghead::banghead::banghead:
Table is called Employee. I use this query to select your name from a combo box on a form. I am wanting it to only show the names of employee's on day shift during those hours and night shift during their hours. I have A field named "Shift" it has Day or Night.
What I'm trying to do:
Night = Between (current time.value) "00:00" and "03:00"
Day = Between (current time.value) "7:00" and "16:30"
Night = Between (current time.value) "16:31" and "23:59"
:banghead::banghead::banghead::banghead::banghead: