F
Fredrated
I need to build 4 queries to feed 4 report subforms.
Each query is built from the user choices of an identical set of controls,
in this case, 3 list boxes and 13 check boxes. (The list boxes will have
different entries between the 4 sets and the check boxes tell me in the user
wants to filter and/or sort the queries).
For each of the 4 sets of controls, I have named them similarly, for
example, chkA1, chkA2, chkA3 and chkA4 for 4 check boxes representing the
same thing in each of the 4 sets of controls.
My question is: is there a way (I am weak on the Access object model) to
indirectly refer to the controls, so that I need build only 1 query generator
which I can run 4 times, once for each set of choices, or will I need to code
4 basically identical query generators?
Thanks in advance for any assistance.
Fred
Each query is built from the user choices of an identical set of controls,
in this case, 3 list boxes and 13 check boxes. (The list boxes will have
different entries between the 4 sets and the check boxes tell me in the user
wants to filter and/or sort the queries).
For each of the 4 sets of controls, I have named them similarly, for
example, chkA1, chkA2, chkA3 and chkA4 for 4 check boxes representing the
same thing in each of the 4 sets of controls.
My question is: is there a way (I am weak on the Access object model) to
indirectly refer to the controls, so that I need build only 1 query generator
which I can run 4 times, once for each set of choices, or will I need to code
4 basically identical query generators?
Thanks in advance for any assistance.
Fred