Solved

Want footer on the last page only

Posted on 2012-04-05
4
2,449 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SSRS parameters, tablix filter question 17 51
Ssrs date parameters 12 123
Change the SSRS datasource server or connection string 10 58
Upgrading my SSIS package in VS 2012 6 62
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…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

821 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