G
Guest
I have an option group with 3 radio buttons. I would like another field on
the form to be enabled if one of these radio buttons is selected, but cleared
and disabled if either of the other two are selected. I have tried different
code, but nothing works. If I understand correctly, if the property values of
the buttons are 1, 2 and 3, the option group is given the value of the
corresponding button selection. But I can find no 'option group' entity on
which to base some code such as:
If OptionGroup = "2" Then
OtherField.Enabled = True
Else OtherField = ""
OtherField.Enabled = False
End If
Assuming this is code is good (I'm new at this), where would I place it?
Any help is much appreciated.
RipperT
the form to be enabled if one of these radio buttons is selected, but cleared
and disabled if either of the other two are selected. I have tried different
code, but nothing works. If I understand correctly, if the property values of
the buttons are 1, 2 and 3, the option group is given the value of the
corresponding button selection. But I can find no 'option group' entity on
which to base some code such as:
If OptionGroup = "2" Then
OtherField.Enabled = True
Else OtherField = ""
OtherField.Enabled = False
End If
Assuming this is code is good (I'm new at this), where would I place it?
Any help is much appreciated.
RipperT