Conditional formating

G

Guest

Hi All,
Simple one this, though I cannot work it out lol.

I have a continuous form with dates of the month down one side, what I would
like to do is have the conditional format set up so if the date in question
is a Sat or a Sun the conditional formating will change the background
colour.

I know its the Expression is option and would utilize the DayOfWeek in the
expression somewhere but i keep getting a error when i try, can anyone help
me please.

Mike J. Soames
 
G

Guest

Thanks Arvin,
Did a bit of searching and found the following which works also

Weekday([DT_Day],7)<=2

Thanks again

Mike J. Soames


Arvin Meyer said:
Try:

Weekday([ContractDate])=6 Or Weekday([ContractDate])=7
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads
http://www.datastrat.com
http://www.mvps.org/access

mikejs2000 said:
Hi All,
Simple one this, though I cannot work it out lol.

I have a continuous form with dates of the month down one side, what I would
like to do is have the conditional format set up so if the date in question
is a Sat or a Sun the conditional formating will change the background
colour.

I know its the Expression is option and would utilize the DayOfWeek in the
expression somewhere but i keep getting a error when i try, can anyone help
me please.

Mike J. Soames
 

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