Conditional Formating

G

Guest

I have a database of personnel info. One form has a field that displays
birthdates for everyone who is born this month in the following format dd /
mmmmm, This data comes from a Query. What I am trying to do is when their
Birthdate ( just the day ) matches today date ( just the day ) have the
birthdates field background color change or flash to attract attention. I
have tried but can't get it to work. Any ideas what I can use as a expression
in the Conditional Format or other ideas.
 
W

Wayne Morgan

It displays in the format dd/mmmm, but is it stored in that format or do you
have an actual date in the field? If there is a date in the field try:

Format([FieldName], "dd") = Format(Date(), "dd")

If it is stored as you have it formatted then try "Field Value Is" instead
of "Expression Is" and use:

Format(Date(), "dd/mmmm")
 
G

Guest

Thank You - The first expression worked - many reponses but this one works.

Thanks.....

Wayne Morgan said:
It displays in the format dd/mmmm, but is it stored in that format or do you
have an actual date in the field? If there is a date in the field try:

Format([FieldName], "dd") = Format(Date(), "dd")

If it is stored as you have it formatted then try "Field Value Is" instead
of "Expression Is" and use:

Format(Date(), "dd/mmmm")

--
Wayne Morgan
MS Access MVP


George said:
I have a database of personnel info. One form has a field that displays
birthdates for everyone who is born this month in the following format dd
/
mmmmm, This data comes from a Query. What I am trying to do is when their
Birthdate ( just the day ) matches today date ( just the day ) have the
birthdates field background color change or flash to attract attention. I
have tried but can't get it to work. Any ideas what I can use as a
expression
in the Conditional Format or other ideas.
 

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