Solved

Date Field Conditional Formatting - revisited

Posted on 2012-03-13
3
251 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 40

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
Outlook Free & Paid Tools
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
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…

830 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