[Solved] hide/remove header and footer


For each element in your header or footer, whether it be an image or a text box or anything else, right click on each item and select the ‘properties’ option at the bottom of the menu. Then select the ‘visibility’ tab and change from ‘show’ to ‘show or hide based on an expression’. Click the button with a ‘fx’ icon, and then enter the following expression

enter image description here

=Switch(Globals!PageNumber > 2,true)

This will remove the selected element from the header or footer if page number is greater than 2. So in this case if your report is 5 pages long, pages 3, 4 and 5 will not include the selected element. Adjust this based on your requirements.

1

solved hide/remove header and footer