Subordinate Combo Boxes

  • Thread starter Thread starter CorporateQAinTX
  • Start date Start date
C

CorporateQAinTX

I know this is probably easier then I'm making it out to be, but none of my
VB is working for this one.

I have an option group with 5 values. Value 4 is set as default. Values 1-3
are broad choices. But Value 5 is supposed to be specific. When 5 is selected
I want a combo box to be enabled next to it. By default, the combo box is
disabled. I don't want the user to be able to pick any option from the combo
box unless the 5th value is selected.

Can anyone assist me with this?
 
How about something like:

private sub Frame1_Click
select case me.frame1
case is = 5
me.combobox.enabled=false
case else
me.combobox.enabled = true
end select
end sub

Change the name of the frame to your optiongroup name and the combobox name
to your own combobox name

hth
 
Too cool! It worked. Thanks!

Maurice said:
How about something like:

private sub Frame1_Click
select case me.frame1
case is = 5
me.combobox.enabled=false
case else
me.combobox.enabled = true
end select
end sub

Change the name of the frame to your optiongroup name and the combobox name
to your own combobox name

hth
 
Back
Top