option group?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Well,
i'm trying to allow the option group selected display a text field to allow
information to be typed in. I need some help on how to go about it.

Thanks
 
The values in an Option Group are Integers and they are determined at design
time, not run time. You could make a textbox visible in the AfterUpdate
event of the OptionGroup. (aircode):

Sub grpChoose_AfterUpdate()

Select Case grpChoose
Case Is 1, 2, 3
Me.txtWhatever.Visible = True
Case Is 4
Me.txtWhatever.Visible = False
Case Else
MsgBox Err.Number & ": " & Err.Description
End Select

End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top