Friday, February 24, 2012

Different Header on Second Page

I have a report that requires a different header starting on the second page. I tried creating the header for page one in the body of the report, then creating the header for page two in the actual report header and setting PrintOnFirstPage to false. Unfortunately, this leaves a large space at the top of the first page, which is not acceptable to my users.

If there was a way to create a list box header that repeats at the top of each page, that would solve this problem as well, but I can't seem to find a way to do that either.

Any suggestions would be GREATLY appreciated.

You can use an iif statement in the testboxes of your header to change the contents depending on the global variable for page. If you need totally different header then use the hidden property to hide one header and display the other according to which page it is on.|||

Thank you. I actually tried something similar with a textbox in the body of the report and got the following error:

The Hidden expression for the textbox ‘textbox31’ refers to the global variable PageNumber or TotalPages. These global variables can be used only in the page header and page footer.

It didn't occur to me to try putting the textbox in the report header, but that works!

Thanks again!

No comments:

Post a Comment