Forms: Using two or more option buttons - only 1 to be selectable

G

Guest

I have put a form together and in it are currently 2 option buttons. The idea
being that the user can indicate which report to run based on other factors
on the form. I want to know how to make it such that only one option button
can be "checked" (eg. If option A is selected, the option box for B is blank
and if Option B is selected the option box for A is blank)

I'm sure I've done this before but cannot remember where to put the
code/expression
 
R

Rick Brandt

Derek said:
I have put a form together and in it are currently 2 option buttons.
The idea being that the user can indicate which report to run based
on other factors on the form. I want to know how to make it such that
only one option button can be "checked" (eg. If option A is selected,
the option box for B is blank and if Option B is selected the option
box for A is blank)

I'm sure I've done this before but cannot remember where to put the
code/expression

One field (not two) in the table and then you use OptionButtons inside an
OptionFrame. The OptionFrame is bound to the one field and enforces the
exclusiveness of the choices.
 

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