Hi
I am working with Access 2002.
I have a report that is set to show at least 12 months of data. Thanks to MajP I've been able to set a "start month" which is selected by the user and then that month plus 12 afterwards show on the report. The query is such that each month has its own data i.e. M1cases, M1days, M2cases, M2days up to M12cases, M12days.
I knew that I could fit 6 months of data on the same report widthwise. I thought that for formatting it might be best to split out the data within 2 subreports i.e. M1 to M6 in subreport 1 and M7 to M12 in subreport 2. But now I have a problem in that if there is 6 months or less of data in the database subreport 2 will still print but with no data.
The other reason for having 2 subreports is so that I could show the group field on each i.e. the report is by patient disposition and even if it grouped to using the second page (so second subreport) the user would still have the disposition printing on all pages.
So should I place all 12 on one and it will only skip to page 2 if required (and not print the disposition for the second page)? Or is there another way to not have subreport 2 print if no data exists? Thanks.
I am working with Access 2002.
I have a report that is set to show at least 12 months of data. Thanks to MajP I've been able to set a "start month" which is selected by the user and then that month plus 12 afterwards show on the report. The query is such that each month has its own data i.e. M1cases, M1days, M2cases, M2days up to M12cases, M12days.
I knew that I could fit 6 months of data on the same report widthwise. I thought that for formatting it might be best to split out the data within 2 subreports i.e. M1 to M6 in subreport 1 and M7 to M12 in subreport 2. But now I have a problem in that if there is 6 months or less of data in the database subreport 2 will still print but with no data.
The other reason for having 2 subreports is so that I could show the group field on each i.e. the report is by patient disposition and even if it grouped to using the second page (so second subreport) the user would still have the disposition printing on all pages.
So should I place all 12 on one and it will only skip to page 2 if required (and not print the disposition for the second page)? Or is there another way to not have subreport 2 print if no data exists? Thanks.