Solved

Access 2007 - Conditional Formatting

Posted on 2011-02-16
1
534 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 120

Accepted Solution

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

or maybe this


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

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
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…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

856 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