user9807817
user9807817

Reputation:

How do you get Option Group radio buttons to work as a group (clicking one excludes the other)?

I have a bunch of radio buttons on a form, but they are independent of the other buttons. So, basically, I click the button and another button, the expected result is that the first one should unclick, but that does not occur.

I figured out a way to accomplish the goal with VBA, but I feel like there was a way to group them within Access itself. Does anyone know how to group up these types of buttons or if it is even possible?

Upvotes: 2

Views: 11414

Answers (2)

ccarpenter32
ccarpenter32

Reputation: 1077

You need to use the "Option Group" in the Design Tab + Controls

Option Group

If you place the Buttons in there and assign them proper values, this will likely solve your problem.

Upvotes: 5

DanielG
DanielG

Reputation: 1675

James. You should be using the Option Group control. This should do the trick for you. If you have Wizards enabled, a Text editor will appear where you can add your options. You can also drag an Radio Button into the group to modify it thereafter.

Upvotes: 1

Related Questions