Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to tell if an Option Button is Selected

Status
Not open for further replies.

Max1mum2

Programmer
Jan 30, 2003
13
US
I have 2 Radio Buttons, and once a user clicks a Add Record Button i need my form to do something based on which radio button is selected, but I cannot figure out how to tell. I have tried using the OptionValue option, but the value is always there no matter if the Radio button is selected or not. Any suggestions? thanks

- maximum
 
Use the value property of the frame that contains the radio buttons

The value of the frame will be the value of the radio button that is selected.
 
Nevermind, I figured out that the Frame housing the Radio Buttons holds the values of the selection.


- Maximum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top