enabling/disabling fields with check boxes

Phil_L

Registered User.
Local time
Today, 20:17
Joined
Nov 14, 2003
Messages
22
Hi,

Is it possible to enable and disable fields on a form with another field that is a check box?

i.e. a text box is greyed out until a check box is ticked.

Any help is appreciated,

Cheers,

Phil
 
Disable

In the After Update Event of the Check Box put something like this:

If Me.CheckBox1 = True Then
Me.txtField.Enabled = True
Else
Me.txtField.Enabled = False
End If


Replace 'CheckBox1' and 'txtField' with the appropriate names.
 

Users who are viewing this thread

Back
Top Bottom