Link to home
Start Free TrialLog in
Avatar of damixa
damixaFlag for Denmark

asked on

Conditional Formatting for Form in Access

I have a form named frm_showlist that is in datasheet view. I need to do some VBA conditional formatting that basically goes like this

if Status_id = 1 format all the fields in the record in red
if Status_id = 2 format all the fields in the record in blue
if Status_id = 3 format all the fields in the record in brown
if Status_id = 4 no formatting
if Status_id = 5 format all the fields in the record in purple

I can do the conditional formatting in access but it only applies to the cell in question, I cant do it across the board for all the fields in the record

thanks in advance,
Vinnie
ASKER CERTIFIED SOLUTION
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America 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
Avatar of damixa

ASKER

Great, thanks. Much appreciated
Welcome!