trapset4
Programmer
- Oct 21, 2008
- 11
I have a report that I would like to run current year data if this year is selected and historical year data (different tables) if a prior year is selected.
I figured the best way was to use a master report to collect the date ranges and generate the page headers and then use subreports for the 2 different cases. I am not using any tables in the master since it is just getting paramaters and calculating dates. Current info tables are used in 1 subreport and histroy tables are used in the other. When I run the report, nothing shows up but all the setup info from the master report. I have passed the date variables, but that doesn't help. Any suggestions?
I figured the best way was to use a master report to collect the date ranges and generate the page headers and then use subreports for the 2 different cases. I am not using any tables in the master since it is just getting paramaters and calculating dates. Current info tables are used in 1 subreport and histroy tables are used in the other. When I run the report, nothing shows up but all the setup info from the master report. I have passed the date variables, but that doesn't help. Any suggestions?