7 Combo Boxes in a Form with "All" option

P

Paulo

I built first a form with 3 combo boxes (all of them with the "All" option
created using a Union query) and a subform. Form and subform are linked
(Master/Child fields) via the combos. I also tweaked the SQL code for the
subform query, following advice from this forum, so that any combination of
choices in the 3 combos (including "All" for any of them) generates the right
set of records in the subform. Perfect so far, with 3 combos, because the
number of combinations is not too much. But if I try to expand to 7 combo
boxes (i.e. 7 different fields to filter the data, and taking into account
the "All" option in all of them as well), I cannot any more just adjust the
SQL code of the subform query, because the number of possible combinations
becomes staggering. Would the viable solution in this case be via form code,
instead of changing the SQL code in the subform query? Can you make any
suggestions?

Thanks in advance,

Paulo
 

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