Check boxeand text boxes activated on click

R

Rocknation

Here's what I've got (Access 2002):

Color (check box)
Color Name (text box)
Color Approval Date (text box)

Color (check box)
Color Approval Date (text box)

Here's what I want: each group of fields to be grayed out until the check
box is clicked. How?
 
T

tina

add code to the checkbox control's AfterUpdate event procedure, as

Me![Color Name].Enabled = Me!Color
Me![Color Approval Date].Enabled = Me!Color

hth
 
Top