Posted 4 April 2024, 9:14 am EST - Updated 4 April 2024, 9:19 am EST
How do we repeat a header in page reports? I want my title header to appear on a variable number of pages.
Forums Home / ActiveReports / General Discussion
Posted by: bnguyen on 4 April 2024, 9:14 am EST
Posted 4 April 2024, 9:14 am EST - Updated 4 April 2024, 9:19 am EST
How do we repeat a header in page reports? I want my title header to appear on a variable number of pages.
Posted 4 April 2024, 10:26 pm EST
Hi Bryan,
Header and Footer are only supported by RDL Reports, as the Page Reports have a fixed control size and don’t need this feature.
In case of Page Report, you may use a Container control to add controls inside it and show it as page header. It will repeat on every page and you can control its visibility using expression according to your requirement using the Hidden property of the Container control.
For RDL reports too, you can add a container control inside the header and use the above suggestion to adjust it’s visibility as per your requirements.
Please refer to the attached Page Report and RDL Report sample where we are showing Container control as header, only on odd pages by using the following expression in its Hidden property:
=IIF(Globals!PageNumber Mod 2 = 0, True, False)
We hope this helps and let us know if you face any issues.