Can Access Conditional Formatting have more than one criteria

Can conditional formatting have more than one criteria?  e.g. If I want the background color to be red if the Officers name is Williams, or Jones or Smith.  Or the ID is 333, or 5454, or 66544?
J.R. SitmanIT DirectorAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Daniel PineaultPresident / Owner CARDA Consultants Inc.Commented:
Yes, you can use the "Expression Is" to build your expression whatever it may be with as many validations you need.

Personally, I prefer to use VBA, in which case the sky is the limit.  I create a formatting sub and then apply it to the form's current event, and any after update events that can impact the formatting.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
J.R. SitmanIT DirectorAuthor Commented:
Can you give me an example using williams or Jones or smith?
als315Commented:
Yes, you can have many conditional rules. First true rule in the list will work.
Look at sample. Rules:
c1There are 2 true rules for second record (both for field with date), resulting color is from first matched rule in the list
c2
Get a highly available system for cyber protection

The Acronis SDI Appliance is a new plug-n-play solution with pre-configured Acronis Software-Defined Infrastructure software that gives service providers and enterprises ready access to a fault-tolerant system, which combines universal storage and high-performance virtualization.

J.R. SitmanIT DirectorAuthor Commented:
Thanks
Daniel PineaultPresident / Owner CARDA Consultants Inc.Commented:
You could create an expression along the lines of
[LastName]='williams' OR [LastName]='jones' OR [LastName]='smith'

Open in new window

J.R. SitmanIT DirectorAuthor Commented:
Perfect.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.