Matt
First, consider your users. Folks tend to get nervous when things
disappear/re-appear. Another approach might be to enable/disable controls,
depending on what else is being done.
So, radio buttons are part of a group. You can add code behind that group
control that checks for which radio button (i.e., option) was selected and
resets the enabled property. It might look something like (untested, use
YOUR control names):
Select Case grpSomething
Case 1 'i.e., the first button/option was selected
Me!cboYourCombobbox.Enabled = False
Case 2 'i.e., the second ...
Me!cboYourCombobbox.Enabled = True
Case Else
MsgBox "Something's gone wrong -- there are only two radio
buttons!"
End Select
Good luck!
Regards
Jeff Boyce
Microsoft Access MVP
--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.
Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.
You can thank the FTC of the USA for making this disclaimer
possible/necessary.