Solved

Access 2007 - Conditional Formatting

Posted on 2011-02-16
1
503 Views
Last Modified: 2012-05-11
I've got a report that displays a number of rows of data with multiple data items per row.

I need to apply conditional formatting to a row that will change the forecolor of the row to red if the end date is within 6 months of the current date.

I have found the place in Access where you configure the conditional formatting and I can tell that need to use the 'Expression Is' condition, but I'm not sure how to build my expression in order to get my desired result.

Thanks for help
0
Comment
Question by:JosephEricDavis
1 Comment
 
LVL 119

Accepted Solution

by:
Rey Obrero earned 500 total points
Comment Utility
expression is datediff("m",[end date],Date())<=6

or maybe this


expression is datediff("m",[end date],Date())>=6
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now