SteveCop2
Programmer
- Apr 10, 2006
- 16
I have devised a report which gives the following type of information for a single month:
ACCOUNTS OPENED
John Smith
Richard Jones
ACCOUNTS CLOSED
Jim Arnold
TOTAL OPEN AT END OF MONTH: 37
The data all comes from a single table and is presented using 3 sub reports, each fed with a suitable query.
What I would like to do is to print the above monthly group of reports not just once but 12 times consecutively, one for each month of the year. Now I am really stuck! I can;t see how, having printed the 3 sub reports once, I can change the month number and then print them again etc and control the loop so that they stop after 12 months. Having thought about this for days I can only see creating a mass of sub reports, each group of 3 working on a specific month number but when it gets that crude and untidy I have to be wrong! Can anyone help with a suggestion please?
ACCOUNTS OPENED
John Smith
Richard Jones
ACCOUNTS CLOSED
Jim Arnold
TOTAL OPEN AT END OF MONTH: 37
The data all comes from a single table and is presented using 3 sub reports, each fed with a suitable query.
What I would like to do is to print the above monthly group of reports not just once but 12 times consecutively, one for each month of the year. Now I am really stuck! I can;t see how, having printed the 3 sub reports once, I can change the month number and then print them again etc and control the loop so that they stop after 12 months. Having thought about this for days I can only see creating a mass of sub reports, each group of 3 working on a specific month number but when it gets that crude and untidy I have to be wrong! Can anyone help with a suggestion please?