IIf expression

D

Don

I am trying to return a statement of "Expired" if the difference in date days
is greater than 30 days if not, then return the number of days between the
dates. However, I am not sucessful. Please look at my expression and see
where I am going wrong.

IIf(DateDiff("d",[CommitteeDate],Now()>30),"Expired",
(DateDiff("d",[CommitteeDate],Now())))
 

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

Top