Blanks incorrect

L

Lisa

I am working on a query that will not only tell me if the date is completed
but also forecasted and if forecasted if it is overdue. My issue is all the
blanks are also coming back as overdue can any help me with this issue. I
would like for the blanks to come back with “not date†if possible.

SE Status: IIf(IsNull([Completed_SE Date]),IIf(nz([SE
Date],0)<Now(),"Overdue","Forcasted"),"Completed")

Thank you in advance for any help.
 
J

John Spencer

IIF([Completed_SE] Date is Not Null, "Completed",IIF([SE Date] is Null, "No
Date", IIF([SE Date] < Now(), "OverDue","Forecasted")))


--
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
..
 
L

Lisa

It works great!!!!!!!!! Thanks

John Spencer said:
IIF([Completed_SE] Date is Not Null, "Completed",IIF([SE Date] is Null, "No
Date", IIF([SE Date] < Now(), "OverDue","Forecasted")))


--
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
..

Lisa said:
I am working on a query that will not only tell me if the date is completed
but also forecasted and if forecasted if it is overdue. My issue is all
the
blanks are also coming back as overdue can any help me with this issue. I
would like for the blanks to come back with "not date" if possible.

SE Status: IIf(IsNull([Completed_SE Date]),IIf(nz([SE
Date],0)<Now(),"Overdue","Forcasted"),"Completed")

Thank you in advance for any help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Statement no working 2
Iif function with two fields to look at 9
IIf Statement problem 9
Will Conditional Formatting work? 6
Due Date question 0
Query Help 0
2nd task auto-completes 0
IIF date statement 4

Top