SSRS Show Textbox on last page separately

2019-08-08 21:52发布

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条回答
贪生不怕死
2楼-- · 2019-08-08 22:10

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:

enter image description here

The end result looks about what you'd expect:

enter image description here

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:

enter image description here

enter image description here

Now the report displays the textbox on the last page:

enter image description here

enter image description here

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.

查看更多
登录 后发表回答