Conditional formating

  • Thread starter Thread starter Richard
  • Start date Start date
R

Richard

Hi

I have a continuous subform with all the dates for the year. I would like to
have satudays and sundays with a different backcolor. How do I set it up?
The control is now formated as "ddd dd mmm yyyy".

Thanks in advance
Richard
 
Richard said:
Hi

I have a continuous subform with all the dates for the year. I would like to
have satudays and sundays with a different backcolor. How do I set it up?
The control is now formated as "ddd dd mmm yyyy".

Thanks in advance
Richard

Assuming you are using at least Access 2000:

Click on the data control (let's assume the field is called MyDate)
Choose Conditional Formatting from the Format menu
In Condition 1, choose "Expression Is" from the drop-down list
In the text box, enter the following expression: Weekday([MyDate]) In (1,7)
Open the Fill/Back Color palette and choose your desired colour.
 

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