
Originally Posted by
davegri
If you have "Identical forms" only because each has a different recordsource query, you can use a single form and change its recordsource property in code before opening it.
Alternately, you can also create queries on the fly in code with a common name, such as qTempQuery. The form above would have qTempQuery as its recordsource and a different as needed qTempQuery would be created before opening it.
These techniques, especially the latter can reduce the number of named queries significantly. The syntax for the 52 queries (if still needed) would be in a module, all created as needed with a set of common query names to be used by reports or forms.
If this appeals to you, I can post a demo db showing how to create queries on the fly from their SQL strings and how they work as a form recordsource.