Run Iif Iif!

Elmobram22

Registered User.
Local time
Today, 12:13
Joined
Jul 12, 2013
Messages
165
Hi,

I have an Iif statement running on a query that figures out based on time if someone has slept in at work...

Sleep In: IIf([Time Out]>=#21:55:00#,"Sleep In","")

I want to add to this that I only want it to run the above Iif statement if the [Notes] column is null. I still want all records to show but only run the first Iif if the [Notes] column IsNull.

Just can't get my head around it.:banghead:

Cheers,

Paul
 
So something like..
Code:
Sleep In: IIF(IsNull([Notes]), IIF([Time Out]>=#21:55:00#,"Sleep In",""), "")
 

Users who are viewing this thread

Back
Top Bottom