Option Buttons

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

Guest

Novice access 97 user!!!
I have a form with 91 Options buttons in the details.
I would like to put in the form header a button which when ticked will select ten buttons of my choice together instead of individually ticking them.
Is this possible??
 
Lizzie said:
Novice access 97 user!!!
I have a form with 91 Options buttons in the details.
I would like to put in the form header a button which when ticked will
select ten buttons of my choice together instead of individually ticking
them.
Is this possible??

Just off the top of my head, I'd say your structure needs some normalization
work. I'm guessing you mean 91 radio buttons, not option buttons because an
option group only allows 1 selection. The code you ask for should be rather
simple:

Sub cmdMyButton_Click()
Me.RadioButton1 = True
Me.RadioButton2 = True
Me.RadioButton6 = True
Me.RadioButton8 = True
'... etc.
End Sub
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
 
Back
Top