Date Iff question

E

EllenM

Hello,
I'd like for the date field to show up in one of two ways:
If before 1/1/2009, "Pre 2008"
If 1/1/2009 or after, I'd like to see the actual date shown.

Thanks in advance for your help.

Ellen
 
R

RonaldoOneNil

Create a textbox on your report and set the control source property to

=IIf([YourDateFieldName] < #01/01/2009# , "Pre 2008" , [YourDateFieldName])
 

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