I have a report that lists items like so:
[tt]
Unit Name 1 Weekend
-----------------------------------
Event Description 1 X
Event Description 2
Event Description 3 X
Unit Name 2 Weekend
-----------------------------------
Event Description 1 X
Event Description 2 X[/tt]
In the report's footer section, I have a sub-report based on a crosstab query that totals it all up, like so:
[tt]
Unit Weekend Non-weekend Total
------------------------------------------
ABCDE 4 16 20
FGHIJ 7 14 21
KLMNO 3 9 12[/tt]
Here's the problem: if the detail section of the report works out such that the report footer is the only section on the last page (i.e. no records on the last page, only the totals subreport), the report footer prints, but all the numbers are zeros. If even one record is on the last page, the subreport prints correctly. How do I fix this? Thanks!
Ken S.
[tt]
Unit Name 1 Weekend
-----------------------------------
Event Description 1 X
Event Description 2
Event Description 3 X
Unit Name 2 Weekend
-----------------------------------
Event Description 1 X
Event Description 2 X[/tt]
In the report's footer section, I have a sub-report based on a crosstab query that totals it all up, like so:
[tt]
Unit Weekend Non-weekend Total
------------------------------------------
ABCDE 4 16 20
FGHIJ 7 14 21
KLMNO 3 9 12[/tt]
Here's the problem: if the detail section of the report works out such that the report footer is the only section on the last page (i.e. no records on the last page, only the totals subreport), the report footer prints, but all the numbers are zeros. If even one record is on the last page, the subreport prints correctly. How do I fix this? Thanks!
Ken S.