This is not something that I created.
I have a subreport (in the main report footer) that doesn't link directly to data in the main report - except that I would like them both to reflect data within the same date ranges. The issue with the way this report is setup is that the users have to remember to run the subreport and run the main report (and change the dates in the select formula in each).
I changed the main report so that the users get prompted for a date range ({TABLE.DATE} in {?Start Date} to {?End Date})...but I don't know how to pass the date range values to the subreport...if I link by the date field that I'm running the date range on, the subreport only pulls for one day in the range (i'm guessing it's the last date in the main report, right before the sub report runs).
My workaround was to also add a date range prompt in the subreport. The problem is that when the report is run the users will be prompted for 2 date ranges (which should be the same, and this could be another potential problem if they don't use the same date ranges).
It's pretty cumbersome and I hope there's some way to make it simpler and make the subreport run without much interaction from the user.
Sandy
I have a subreport (in the main report footer) that doesn't link directly to data in the main report - except that I would like them both to reflect data within the same date ranges. The issue with the way this report is setup is that the users have to remember to run the subreport and run the main report (and change the dates in the select formula in each).
I changed the main report so that the users get prompted for a date range ({TABLE.DATE} in {?Start Date} to {?End Date})...but I don't know how to pass the date range values to the subreport...if I link by the date field that I'm running the date range on, the subreport only pulls for one day in the range (i'm guessing it's the last date in the main report, right before the sub report runs).
My workaround was to also add a date range prompt in the subreport. The problem is that when the report is run the users will be prompted for 2 date ranges (which should be the same, and this could be another potential problem if they don't use the same date ranges).
It's pretty cumbersome and I hope there's some way to make it simpler and make the subreport run without much interaction from the user.
Sandy