Solved

Want footer on the last page only

Posted on 2012-04-05
4
2,544 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

Question has a verified solution.

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

Suggested Solutions

Written by Valentino Vranken. Introduction: The first step of creating a SQL Server Reporting Services (SSRS) report involves setting up a connection to the data source and programming a dataset to retrieve data from that data source.  The data…
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

738 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