format date in a report

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a report the has two columns of data. the first column is the date in
long format and the second column is a dollar amount. I would like to have
the weekends be a different color that the rest of the week. Can anyone help?

thank you
 
Assuming Access 2000 or later, use conditional formatting:

1. In report design view, select the text box you want to change color.

2. Choose Conditional Formatting from the Format menu.

3. Chose: Expression
(Weekday([MyDateField]) = 7) Or (Weekday([MyDateField]) = 1)
replacing MyDateField with the name of your date field.

4. Click the color you want when this expression is true.
 

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

Back
Top