problem when printing report
Hello good afternoon
Can you help me please
I have a problem with a report, the report is integrated with subreports
when it is generated, a sheet is shown but in the footnote it is 1 to 2
I use the double step property and the page header is
how i can solution it is problem
thanks
Can you help me please
I have a problem with a report, the report is integrated with subreports
when it is generated, a sheet is shown but in the footnote it is 1 to 2
I use the double step property and the page header is
how i can solution it is problem
thanks
This discussion has been closed.
Comments
Hello!
Use the [Page#] and [TotalPages#] macros in the TextObject at the bottom of the page instead of [Page] and [TotalPages] macros with # are filled in after all pages of the final report have been generated.
Check the behavior of scripts and data sources between passes:
If the report contains a script that hides bands or changes object variables/sizes, apply such changes or reset counters with Engine.FinalPass in mind (so that the first and second passes generate identical layouts).
If subreport data is manually shifted in the code and reaches the end during the first pass, reset the data source before the second pass (Report.GetDataSource(“...”).Init()).
Check the subreport page (SubreportObject): a separate subreport tab should not have its own PageHeaderBand and PageFooterBand, which conflict with the headers and footers of the main page.