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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Option group values

Status
Not open for further replies.

bosk00

Technical User
Mar 5, 2004
91
US
I used the wizard to create a option group on my form. It represents 6 different reports that can be selected. When I look at the properties of the buttons, I see tat they are named toggle9 through toggle14 with the values of 1 through 6 respectivly. My thought was to use the value to select the report. When I built the group one of the questions is whether to save the value for later use or store it in a table. That once the report is printed there is no need to remember I picked save. Where I am lost is how to recover the value. Any help is appreciated.
Thanks

Alan
Senility at its finest
 
Hi,

If during made of option group you selected "remember to use later" now with in on click property of option group you have to write like the following code:


Select Case Me!youroptiongroupname
Case Is = 1

"you can write any command that you like when first item selected"

Case Is = 2

"you can write any command that you like when first item selected"


End Select

I hope to be useful
bye
ali
 
Thank you very much your post was very useful, and a much deserved star for your help.

Alan
Senility at its finest
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top