Solved

Date Field Conditional Formatting - revisited

Posted on 2012-03-13
3
250 Views
Last Modified: 2012-03-13
Follow up to:

http://www.experts-exchange.com/Microsoft/Development/MS_Access/Q_27627895.html

DateDetermination: IIf(IsNull([MedicalCertExpireDate]),"None",[MedicalCertExpireDate])

Works fine (showing all records with dates and displaying 'None' if no date).
I actually need to show Records with date <Now() and those with no date as 'None'.  I added this to criteria which filtered ok but then I lost those records in which had no date 'None'.

Thanks
0
Comment
Question by:zpotok
3 Comments
 
LVL 61

Accepted Solution

by:
mbizup earned 500 total points
ID: 37715001
Try this for your date field's criteria:

< Now() OR IS NULL
0
 
LVL 39

Expert Comment

by:als315
ID: 37715134
DateDetermination: IIf(IsNull([MedicalCertExpireDate]) Or [MedicalCertExpireDate]<Now(),"None",[MedicalCertExpireDate])
0
 

Author Closing Comment

by:zpotok
ID: 37715242
Thanks
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question