Link to home
Start Free TrialLog in
Avatar of kw66722
kw66722

asked on

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.
ASKER CERTIFIED SOLUTION
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
Avatar of kw66722
kw66722

ASKER

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.
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
Avatar of kw66722

ASKER

I can see it when I select multiple fields the "conditional formatting" is grayed out and I can't select it.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
< I have 15 fields and 12 different color conditions. >

conditional formatting is limited to 3-4 if I remember it right.