Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
433 views
in Technique[技术] by (71.8m points)

ssrs 2008 - Show footer on last page only

I want to add footer on my report, but only on the last page. I followed this tutorial which was successful, but it leaves space for the footer on all pages.

How can I get rid off that space for the footer on all pages except the last one?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I can only think of the following solution for your problem:

First - don't use the build in Footer. Instead, use a sub-report that will contain your footer details.

Now, you need to define the sub-report as thin as possible in the main report (while in the actual sub-report - arrange your data as you want).

Then just implement the same concept as described in the link that you provided - means that you need to define an expression in the sub-report visibility filed.

attaching a demonstration that explaining the 'using sub-report' idea:

enter image description here

EDIT I did some research - If you follows the instructions provided by the link in your question but Strech the rectangle to cover all the footer area, then your are good - the footer will not be displayed until the last page:

This how I arranged the Rectangle over the footer:

Middle Page (you can see that the footer's rectangle is hidden:

enter image description here

Last Page (footer is visible):

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...