B
Bob Richardson
I have an option group with 5 radio buttons (in the header), indicating
different sub groups within my DB. The default button includes ALL records.
I'd like the form to operate this way: When I click a radio button, I want
only those records that meet the button's criteria to be included in the
dataset. When I click another button, a different subset will be used. The
Filter or Query approach works to get the desired subset, but I want to use
a form.
I'm guessing that I want a VBA procedure that would "filter" the DB, and
that this procedure would be triggered by an OnClick (or perhaps
AfterUpdate) event of the OptionGroup (frame) object. Do I save 5 different
Queries and then somehow access one of them depending on some value of the
Frame object?
This is my first DB project so I'm pretty new to all of this. Thanks for
your help.
different sub groups within my DB. The default button includes ALL records.
I'd like the form to operate this way: When I click a radio button, I want
only those records that meet the button's criteria to be included in the
dataset. When I click another button, a different subset will be used. The
Filter or Query approach works to get the desired subset, but I want to use
a form.
I'm guessing that I want a VBA procedure that would "filter" the DB, and
that this procedure would be triggered by an OnClick (or perhaps
AfterUpdate) event of the OptionGroup (frame) object. Do I save 5 different
Queries and then somehow access one of them depending on some value of the
Frame object?
This is my first DB project so I'm pretty new to all of this. Thanks for
your help.