Option Group Not Responding to Option Button Selected

J

Jim Moore

I have had no responses to two similar postings so I am trying to state my
problem more clearly.

I have several Option Groups on a Form with no defaults. The first time I
click an option button, the first option button "On Got Focus" event is
triggered no matter which button is selected. After that first click, the
selected button event is triggered.

Any suggestions?

Thanks,
Jim Moore
 
D

Douglas J. Steele

Are you sure that your option buttons are children of the option group, and
not simply physically on top of the group? If you move the option group, do
the buttons move with it, or do they stay behind?

If they weren't actually put on the group (it's a common mistake!), select
the buttons, cut them using Ctrl-X, select the option group, then paste them
using Ctrl-V.
 
J

J. Goddard

You might find it easier to use the events (usually After Update) of the
option group itself, rather than the individual buttons. You can check
which button was clicked using the current value of the option group
control.

I use A2000 and don't see a Selected Button event.

John
 
J

Jim Moore

I created the Option Buttons using the Wizard for the Option Group. And,
yes, the bottons do move with the group.
Jim Moore
 
J

Jim Moore

I tried both After Update and On Click but neither worked at first. I
removed the events for the Option Buttons and now all work! The same
approach fixed both Option Groups.

Thanks
Jim Moore
 

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