G
Guest
Hi, I need help finding a solution regarding re-using queries. To produce a report for 'department 1' I have built a series of queries (26) merging tables and massaging the data, which I run in a macro. My problem is, there are 13 departments for which I need to produce similar reports. I would like to re-use my 26 query set for each department instead of building 12 more 26 query sets
Each department has its own columns of data in the table. Is there a way to 'generalize' each query may be an &1 and have the queries built depending on the input (department(1to13)). Would this need to be done in VB or C++ or SQL
Thanks in advance for help
Bill
Each department has its own columns of data in the table. Is there a way to 'generalize' each query may be an &1 and have the queries built depending on the input (department(1to13)). Would this need to be done in VB or C++ or SQL
Thanks in advance for help
Bill