Option Group not toggling

E

EAB1977

Hello everyone,

I have created a Option Group using the Wizard. I crated two option
groups, one called Preview Report and the other called Upload Report
using radio buttons. Once the wizard created the two radio buttons, I
cannot switch between them. This is the first time that I have used a
option group (I usually make seprate radio buttons) and I have tried
the Help Resources with no real help on my problem. I hope someome can
help with my issue.

Thank you,
Eric
 
J

Joan Wild

What you really want to do is to create an Option Group, with two items
within it (not two Option Groups).
 
F

fredg

Hello everyone,

I have created a Option Group using the Wizard. I crated two option
groups, one called Preview Report and the other called Upload Report
using radio buttons. Once the wizard created the two radio buttons, I
cannot switch between them. This is the first time that I have used a
option group (I usually make seprate radio buttons) and I have tried
the Help Resources with no real help on my problem. I hope someome can
help with my issue.

Thank you,
Eric

Start all over.
Add just ONE option group. Then add 2 radio buttons to this group.
One button label "Preview", the other button label "Upload".
The value of the Preview radio button should be 1. The value of the
Upload radio button should be 2 (or vice versa).

The option group gets it's value from whichever radio button you
select, and only one button at a time can be selected. So if you click
Preview, then decide you want Upload, clicking Upload will un-select
Preview. To then do something with whatever button has been selected,
you would code the OptionGroup AfterUpdate event:

If Me![OptionGroupName] = 1 Then
Do the Preview report thing
Else
Do the Upload thing
End If
 
E

EAB1977

OK, I have one option group now with two radio buttons, but I still
cannot toggle between the two. When I try to move to the Upload radio
button, it acts like it does but then immediately jumps back up. I do
not see any code behind it. I used optPreview as the default when it
opens.

My radio buttons are optPreview and optUpload & Frame69.

BTW, does the code there represent what happens when a toggle button is
clicked?
 

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

Top