jm*****@hotmail.com (Jared) wrote in message news:<96**************************@posting.google. com>...
Radio Button or Check Box and Event Procedures
I need to insert either radio buttons or check boxes onto my form. I'm
not sure which to use, or if there are other options. I am using the
buttons to: if one is clicked, its corresponding information will
become available on another document, if it's not clicked no
information will be provided. If multiple buttons are clicked their
information will available on the same document.
I'm not sure how to store the information so it will become available
once the button is clicked.
Any help would be greatly appreciated.
Thanks in advance.
Jared
Check boxes, radio buttons (a.k.a. option buttons) and toggle buttons
are all very similar. The name for radio buttons comes from old
fashioned radios in cars where pushing the button for your radio
station caused the other buttons to pop back up. So I use radio
buttons when I have two or more options that are mutually exclusive.
I.e., clicking one 'on' causes the others to click 'off.' Normally a
toggle button is used to indicate an on/off state for a single item.
The toggle is 'up' to indicate one state and 'down' (recessed) to
indicate the other state. A check box is like a toggle when there is
only one box. When there are more than one the user can select
several at a time to indicate several choices at once, in a way that
is similar to the action of a multiselect list box.
From your description it seems like you want check boxes. Since users
get used to certain buttons in windows behaving a certain way I try to
stick to the standards unless I have a good reason to deviate from
them. Also, be careful when using buttons capable of Triple State
(they can have values like True (-1), False (0) and Null). This won't
be an issue if you always set the initial value in code or by using
the Default property but can become an issue if you are setting values
in code based on a recordset field that contains Null values. Use the
Nz() function in that case to specify exactly what value you want the
button to have.
Most of the time all the choices are made before clicking on a command
button that subsequently reads the choices the user made and runs code
that branches according to those choices. A report can also read the
values directly from the open form and use them to adjust itself. The
form can also use the criteria to open one of several different
reports that show different combinations of data fields. Over the
years the people in this NG have done a multitude of different things
with Access so it's important to be as specific as possible about what
you're trying to do.
Hope this helps,
James A. Fortune