M mikejerez Registered User. Local time Today, 13:27 Joined Jul 26, 2008 Messages 10 Jul 26, 2008 #1 This the scenario I am trying to create: I want a checkbox to change the Enabled property of a textbox to 'Yes' if the checkbox is checked and to 'No' if the checkbox is unchecked.
This the scenario I am trying to create: I want a checkbox to change the Enabled property of a textbox to 'Yes' if the checkbox is checked and to 'No' if the checkbox is unchecked.
maxmangion AWF VIP Local time Today, 21:27 Joined Feb 26, 2003 Messages 2,805 Jul 26, 2008 #2 try: Code: If Me.Checkboxname = True Then Me.Textboxname.Enabled = True Else Me.Textboxname.Enabled = False End If You have to put the actual names of your checkbox and textbox
try: Code: If Me.Checkboxname = True Then Me.Textboxname.Enabled = True Else Me.Textboxname.Enabled = False End If You have to put the actual names of your checkbox and textbox
M mikejerez Registered User. Local time Today, 13:27 Joined Jul 26, 2008 Messages 10 Jul 26, 2008 #3 Thanks, that worked nicely!!!
maxmangion AWF VIP Local time Today, 21:27 Joined Feb 26, 2003 Messages 2,805 Jul 26, 2008 #4 you're welcome