IS there a way to apply conditional formatting to an entire row in microsft access?

I have been asked to have an entire row be a certain color based on the value of a field on the row. I can apply the color to the field itself but can not figure out how to apply it to the entire row.
LVL 1
kw66722Asked:
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.

Ryan ChongCommented:
yes, that's possible... you can create a form and make it as DataSheet view.

and then go to Datasheet tab, and look for Conditional Formatting.

conditional formatting in Access
0

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
Rgonzo1971Commented:
Hi,

The rule should be "Expression is" and then use the correct field
e.g.
[myField]>60

Regards
0
Jim Dettman (Microsoft MVP/ EE MVE)President / OwnerCommented:
You can also stretch the control to the width of the section, send it to the back, then make all other controls that are on top of it backgrounds transparent.

Jim.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Rey Obrero (Capricorn1)Commented:
<I have been asked to have an entire row be a certain color based on the value of a field on the row>

1. before setting the conditional formatting
     - select all the fields (controls) that you want to be highlighted
     
select
Expression is      [nameoffield/control] > 60
0
PatHartmanCommented:
No points please
Jim's suggestion works on a continuous form but not one in datasheet view because in datasheet view, you can't stack controls.
Rey's suggestion works on either form type but it does involve setting conditional formatting for each control.  Although he also shows how to apply it by selecting multiple controls at once so you don't have to type it into each control separately.  This is the only solution if you are using a datasheet view.
0
kw66722Author Commented:
When I select multiple fields on the form (set as a datasheet view) the conditional formatting is no longer visible.  I can do each one individual. Is there a different approach? It is going to take awhile to do each one manually. I have 15 fields and 12 different color conditions.
0
Rgonzo1971Commented:
Conditional formatting is no more visible in the context menu but you can find it in the ribbon

EDIT Form Layout Tools / Format / Control Format
0
kw66722Author Commented:
I can see it when I select multiple fields the "conditional formatting" is grayed out and I can't select it.
0
PatHartmanCommented:
You may be selecting controls that don't allow Conditional Formatting.  Try selecting just two textboxes.  Do you see it?  What version of Access are you using?
0
Rey Obrero (Capricorn1)Commented:
< I have 15 fields and 12 different color conditions. >

conditional formatting is limited to 3-4 if I remember it right.
0
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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.