We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

Hiding the blank space of a page footer when PrintOnFirstPage = false (using SSRS sp1)

RMAHelpDesk
RMAHelpDesk asked
on
Medium Priority
1,812 Views
Last Modified: 2009-09-22
Hello,

I have a report that is always two pages long. Since I can't have a report footer I made a page footer and set PrintOnFirstPage = false. The problem is that there is a huge blank area on the first page where the footer is suppressed. Is there a way around this? Or a way to actually make a report footer?

Thanks for the help.
Comment
Watch Question

Have you tried adding a textbox to the top and bottom of the Body section of your report?  These would then print like report header and footers.

Author

Commented:
This is actually what I am doing right now. The problem is the "report footer" needs to print at the bottom of the last page. Doing it the way I am now makes the footer appear last but not neccessarily at the bottom of the page. Any suggestions?
Workaround by Chris Hays MSFT:

If you want something different in your last page footer than in the other page footers, you can conditionally show/hide alternate items using the Hidden property like this:

<Hidden>=iif(Globals!TotalPages=Globals!PageNumber,False,True)</Hidden>

If the page footer in the last page is radically different than on the other pages, I recommend putting the contents for each page footer into a seperate rectangle and setting Hidden on the rectangles as a whole (you'll need to overlap the rectangles in the design tool, which will unfortunately make it hard to edit, but easier than manipulating a bunch of individual items).

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.