Conditional formatting: red text for appts in coming week.

N

NC_Sue

One of my reports lists upcoming appointments. I want to appointments for the
coming week to "stand out". How do I do this?

I always have problems with figuring out how to direct Access to do
something-or-other based on dates.
 
J

John Spencer

In conditional formatting
Field Value is /// Between /// Date() /// and /// Date() +6
For today and the next 6 days (one week)

For tomorrow and the next 6 days
Date()+1 and Date() +7

That assumes that your date field is a datetime field.
 
J

John Spencer

Yes, but in that case you will need to use an expression.

Something like the following.


Expression is /// [DateControl] Between Date() and Date()+6

-- Select "Expression Is" from the combobox
-- in the blank box enter the expression

You will have to do this for each control on the report. I suggest you play
with one control and get it working. Then you can set each of the others.

--
John Spencer
Access MVP 2002-2005, 2007
NC_Sue said:
Hey John - Can I change the formatting of all the fields in the row...
i.e.
including the name... based on the conditional formatting expression for
the
date?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top