Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Want footer on the last page only

Posted on 2012-04-05
4
Medium Priority
?
2,939 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

After much searching across the internet I have found that you could not set the name of the file you were attaching to dynamic report subscriptons in Microsoft Reporting Services. I did manage to find one article showing you how your could make a s…
A recent questions about how to add SSRS named instances, couldn't find any that talks about SQL server 2008, anyway I decided to help by creating some screen shots. The installation is straightforward, you just pop the SQL server 2008 installati…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

971 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