Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date with condtional formatting 1

Status
Not open for further replies.

techkenny1

Technical User
Jan 23, 2009
182
AU
Hi,
I am using this code on a continous form to show specific data when a certain date criteria is reached.

Expression is
Code:
DateDiff("d",[DateRaised],Date())>30
This will hightlight all dates that are over 30 days.
What I need to do is to be able to show 30 days, 60 days in different colours.
How do I change the above code to reflect this.

Many thanks

kp
 
You can create up to 3 conditional format expressions. Your first condition might be:
[DateRaised] Between Date()-30 and Date()-60
Play with it until it's correct.

Duane
Hook'D on Access
MS Access MVP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top