Hi Experts,
I have a checkbox in my form, which when ticked should activate the value of a textbox. The textbox value is updated based on a combobox selection (1-30). There are many such textboxes in the form that get values based on the combobox selection, and I want to give user an option to use checkboxes to display values of textboxes, and when unchecked, display 0. For instance, this is how it will work, user selects combobox value 20, then few textboxes display the value 20, then the user checks few corresponding checkboxes to display 20, and unckecked ones to display 0.
I found code something like this from a string, but this doesn't really display or makes 0 the textbox values. So perhaps some modification in below code will do my work.
Your help will be much appreciated. Thank you.Code:Private Sub Check3_Click() If Me!Check3.Value = True Then Me!Text5.Enabled = True Else Me!Text5.Enabled = False End If End Sub