Changing Colors with Check boxes

travismp

Registered User.
Local time
Today, 10:57
Joined
Oct 15, 2001
Messages
386
I have a simple form with 3 check boxes. I want to write a vb code that will change the color of a box if a box is selected.

Table Name: tbl_main
Form Name: frm_color
Field Names: [check_red] [check_blue] [check_yellow]
Box Names: 'box_red' 'box_blue' 'box_yellow' (all currently translucent)

If someone checks the [check_red] field I want the 'box_red' to go from translucent background to a red background, and when unchecked to go back to translucent. Same with the Blue & Yellow boxes.

I have made a simple database and attached it for an example. Thank you all.
 

Attachments

try this

hi
new to access coding myself so i know how frustrating it can be
hope this is what you wanted
gook luck
kev
 

Attachments

That worked perfect. Thank you. It looks so simple, but I have such a hard time trying to figure this stuff out.

Thank you again. Perfect.

Travis
 

Users who are viewing this thread

Back
Top Bottom