Change "expired" to todays days. (01/01/03 format)

M

Mike

Hi, I have a table with a date field. Some of the entries
have 'expired' in them. I would like to write a query to
display the table, and substitute the 'expired' with the
current date. Any thoughts?
 
T

Tom Ellison

Dear Mike:

Sounds something like this:

IIf(ColumnName = "expired", Format(Now(), "Short Date"), ColumnName)

Replace ColumnName with your actual column name.

Tom Ellison
Microsoft Access MVP
Ellison Enterprises - Your One Stop IT Experts
 

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