P Phil_L Registered User. Local time Today, 20:17 Joined Nov 14, 2003 Messages 22 May 16, 2005 #1 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
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
T trucktime Registered User. Local time Today, 13:17 Joined Oct 24, 2004 Messages 556 May 16, 2005 #2 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.
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.