Thanks for your response, I appreciate the timeliness of it.
It is possible than the person doing data entry by mistake select an option and there was not a response for a particular question, so need to uncheck the control. If selecting option1 from the control, the second control will be enabled, and if it is changed to option2 in the first control, the second control need to be cleared and disabled.
I had found out how to do it:
In the after update of control 1:
- If.Me.optgroup.value=1 then
-
me.optgroup2.enabled=true
-
else me.optgroup2.enabled=false
-
me.optgroup2=null
-
end if
to only uncheck an option in the option group control, in the Double Click event:
- Private Sub optgroup_DblClick(Cancel As Integer)
-
Me.optgroup = Null
-
End Sub