Elmobram22
Registered User.
- Local time
- Today, 06:24
- Joined
- Jul 12, 2013
- Messages
- 165
Sleep In: IIf(([Notes] Like "Sick*" Or "A/L*" Or "Half*"),IIf([Time Out]>=#21:55:00#,"Sleep In",""),"")
Hi All,
I have a column in a query and I want it to do the following...
If the notes column starts with the word sick, A/L or half then the sleep in column should be blank. If it does not run the rest of the query based on the time out.
The Like option I am putting in doesn't seem to be working as the records aren't affected currently.
Cheers,
Paul
Hi All,
I have a column in a query and I want it to do the following...
If the notes column starts with the word sick, A/L or half then the sleep in column should be blank. If it does not run the rest of the query based on the time out.
The Like option I am putting in doesn't seem to be working as the records aren't affected currently.
Cheers,
Paul