Solved

Want footer on the last page only

Posted on 2012-04-05
4
2,252 Views
Last Modified: 2012-04-10
I need to put a page of terms on the last page only of a report done for SSRS 2008.  From everything I've read there is no report footer.  I found an article that suggested creating a page footer and then doing an expression in the footer properties to print only on the last page.  Sounded like a good idea, but the footer properties don't allow me to do an expression.  Any other ideas?
0
Comment
Question by:cindyfiller
  • 3
4 Comments
 
LVL 6

Expert Comment

by:HomerTNachoCheese
Comment Utility
I am not familiar with SSRS 2008, but here is what I would attempt with similar programs:

Maybe use some sort of formula for the text box(es) in the footer, such as (pseudocode):

=if([page number]=[number of pages],"my footer text",null)

On any of your pages that are before the last page, you would likely have white space where these text boxes return null.

If the report is event-driven, where you have "on print" or "on format" events, then you can have code like this:

If pagenumber < numberofpages then
pagefooter.visible=false
else
pagefooter.visible=true
end if
0
 

Author Comment

by:cindyfiller
Comment Utility
I've been trying something similar to what you have suggested and it isn't working.  I created a rectangle in the footer and then put all my text in that.  I then told it to only print the footer on the last page.  The footer itself is almost a half a page long so every page now has half the page blank.  The footer only prints on the last page - but it doesn't really produce the results I want. I also tried making the rectangle small and told it to grow - but it doesn't grow to expand the entire text so that doesn't work either!
0
 

Accepted Solution

by:
cindyfiller earned 0 total points
Comment Utility
I figured out a way to simulate this.  On the lines where I had my grand totals I added another line below that and then put my text in there.  It only prints on the last page and because it is long and marked as keep together it goes to the next page and prints the text.  Worked like a charm so I'll leave this question out there in case others are looking for the same answer.
0
 

Author Closing Comment

by:cindyfiller
Comment Utility
I figured out a work around that I wanted to share.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

How to use Variables  and Custom code in SSRS report and Assembly reference to use compile shared code in SSRS. Its big question for all who are working with SSRS. It is easy to create assembly and refer in SSRS report, still there are some steps…
It is helpful to note: This is a cosmetic update and is not required, but should help your reports look better for your boss.  This issue has manifested itself in SSRS version 3.0 is where I have seen this behavior in.  And this behavior is only see…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now