Solved

Want footer on the last page only

Posted on 2012-04-05
4
2,358 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
ID: 37810818
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
ID: 37811005
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
ID: 37811640
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
ID: 37826744
I figured out a work around that I wanted to share.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
debugging reporting service 2008 - 2014 16 78
SSRS and SQL server 4 63
Install SSRS for developer 1 26
Publishing SSRS Reports to an IIS Server 3 49
This code started out as a fix for a customer that had incoming data that was hunderds of numbers and words long that was to fit in one column. The problem was that the customer did not want to split words or numbers when wrapping in the column. …
Hi, I have heard from my friends that it’s not possible to create Label Printing report using SSRS. I am amazed after hearing this words not possible in SSRS. I googled lot and found that it is possible to some of people know about the Report Bui…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

803 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