SSRS Show Textbox on last page separately

天大地大妈咪最大 提交于 2019-12-11 08:22:06

问题


I need to display a Textbox in the body of the report, but it has to be on a separate last page. It is actually a Word file that needs to be shown in each report, but seeing as how the only way to accomplish this is to put the file to the Report Server and then access it with a link, I decided to copy the contents of the file to a Textbox.

This and this question on SE are similar, however it is not exactly what I need.


回答1:


You can achieve this by adding items with appropriate page breaks to the report.

Say I have a simple report with a table and a textbox:

The end result looks about what you'd expect:

However, we can force the textbox onto a new page by embedding it in a Rectangle and setting the Rectangle to always be preceded by a page break:

Now the report displays the textbox on the last page:

Tables themselves can also have page breaks, but since it's just text with no dataset it makes sense to me to use a Rectangle here.



来源:https://stackoverflow.com/questions/22168177/ssrs-show-textbox-on-last-page-separately

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!