SSRS Show Textbox on last page separately - reporting-services

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.

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.

Related

SSRS Report PDF image rendering issue

I am building a label report that requires the user to input a Bulk Order Number that will generate multiple labels. When viewed in preview mode and on the report server, images on the report for postage and company logo appear on every instance of a label (report page).
However when exported to PDF, these images only render on the first label (page)
I considered this may not be an issue, as the user could print from the report server when accessing the report. This isn't the case, as when trying to print, report server creates a PDF for you to print from. There are no other options regarding printing other than page size and orientation, a PDF seems to be the only method from which you can print from.
The images I use have the visibility controlled by parameters, so you can select 1st or 2nd class postage, and choose to have the logo visible.
Each image also has the RepeatWith property set to the Tablix that contains order and address details.
When exported to word, the labels all appear as desired with postage and/or logo images on each instance. This is a step I would like to avoid, as it would be much nicer to have the user print directly from the report server, even if this still requires a printer friendly PDF to be created.
I have attached am image to show PDF output.
Any ideas how I can get these images to render on each label (page)?
EDIT
Image of design page
Based on the design view image you posted, it looks like the only thing repeating is your tablix containing the address information. The SSRS RepeatWith property doesn't seem to work well with .pdf exports so the workaround for this would be to drop everything into a single cell on a list object and grouping using the Order_No to repeat everything. This should remove the need to mess with RepeatWith and give you the desired results.

SSRS Force blank pages

I have some SSRS reports that are generated via a subscription. They Get PDF'd and dropped on a share. The way the report was designed there is a potential for one record (or row if you will) to take up more than one page. I would like to know if it is possible to insert a blank page only after a single record/row takes up more than one page. This includes not showing any headers or footers on the blank page.
I've tried adding a text box with a form feed character to the end of the page, which did not work. I also tried creating a text box that is wider than the page (using an expression to control it's visibility) but that just forced the body of the report to be larger than the report's width which caused blank pages to show up everywhere.
Any help would be great.

SSRS 2012 Report Page Breaks

Wondering if someone can point me in the right direction. I currently have a report with 5 sub sections of data, each surrounded with a Rectangle.
I am wanting each sub section to appear on a new page and then be able to export to Excel and each section to appear on a new Tab.
I set Page Break / Break Location in each Rectangle to "Start" and label the PageName to what I want to call the Tab. When I run the report the 4 subsections show correctly but I am left with a blank page before I get the 5 section, but when I export it to Excel it appears correctly.
What I want is 5 pages in the report for each section and when exporting I want 5 tabs, can someone tell me where I am going wrong with setting the pagebreaks if that is indeed what I am doing incorrectly.
Thanks
As you are successfully exporting to Excel, but not the report viewer, this suggests your report and page sizes are not correctly set up on your 4th subsection.
When you have report elements that are slightly too large for your report page, the parts that 'overhang' will generate a new page of just the part that overhangs. This is often a very small amount of white space, so it looks like the page is completely blank. When you are exporting to formats such as excel, this does not matter so you correctly see the page breaks as new sheets.
To check whether this is the case, add borders and fills of different colours to all your rectangles and then run the report. On your 4th 'blank' page, if you see any colours or borders you will know which rectangle or report element is growing beyond its page.

SSRS Report document map link goes to page before (another subreport) because the subreport it refers to contains a page break before

I'm using SSRS Report Builder to modify a report that I am currently very happy with. It is composed of several sub-reports, each inside their own rectangle on the main report. I am trying to add a Document Map so that our users can more easily navigate the digital version of the report.
Because the report is primarily reviewed in PDF/Physical form, I also use a rectangle inside each subreport which has the "page break before" option enabled, so that each subreport will have its own page.
I tried setting the Document Map label for the subreport, and have also tried setting the label for the rectangle that each subreport sits inside. In both cases, when I run the report, the Document Map link takes me to the page preceding the subreport. I believe this is due to the subreport actually starting on that page, but the only content on that page is the page break.
I have also tried putting each subreport inside its own page-break rectangle rather than putting the page-break rectangle inside the subreport, with the same result.
Is there a way that I can, either through code or configuration, load the correct page when a Document Map link is clicked?
I solved this problem by taking the page break out of the rectangle inside the subreport and putting a page break after the rectangle containing the subreport. Now the actual top of the subreport is on the first page that contains data. The Document Map is loading the correct page now.

Displaying different hidden textboxes from Dataset on Page Header in Reporting Services

In my report I have Matrices that appear according to the parameters on a SP. Each Matrix holds an specific "code"/description which I want to show on the Page Header accordingly.
I tried using an <<Expr>> but that didn't work well as it only shows the first record of the database instead of the code for the specific matrix.
Then I found out that I can show an specific textbox with "=ReportItems!TextBoxXX.Value" and so I added to each Matrix the code value hidden.
Now I thought of adding in the page header inside a TextBox a concatenation of all the values, but that didn't work, and I got a:
"The value expression for the textrun "textboc11.Paragraphs[0].TextRuns[0]" refers to more than one report item. An expression in a page header or footer can refer to only one report item.
Hence, my next attempt consisted of adding separate text boxes each one with the desired TextBox Value and one behind the other (like a Pile of textboxes). Everything working now, except that the "space" that each textbox occupies appears in the report showing the desired value and a white space above each textbox when rendered.
Any ideas of how to prevent this behavior? Maybe creating an array with the textboxes and creating an IIF or I don't know, I've been searching for days and nothing seems like a good approach.
I hope someone can give me some advice and that I explained myself.
Thanks!