I have a form that is being used as a survey.
I have a set the properties of one of the combo boxes to .enabled = false.
I want the If an option button is selected the corresponding combobox should be enabled. It works the first time the form is opened but will not update if a different option button is selected.
I have tried requery and update but these don't seem to work.
Code used
If Question4a.value = 1 then
question4b.enabled = true
question4c.enabled=false
end if
If Question4a.value = 2 then
question4b.enabled = false
question4c.enabled= true
end if
I know I am doing something really silly, but I can't see it.
I have a set the properties of one of the combo boxes to .enabled = false.
I want the If an option button is selected the corresponding combobox should be enabled. It works the first time the form is opened but will not update if a different option button is selected.
I have tried requery and update but these don't seem to work.
Code used
If Question4a.value = 1 then
question4b.enabled = true
question4c.enabled=false
end if
If Question4a.value = 2 then
question4b.enabled = false
question4c.enabled= true
end if
I know I am doing something really silly, but I can't see it.