Keeping Tablix and Subreport on same page - reporting-services

I have a report with a subreport in the report body, followed by a tablix in the report body. I have another report with the tablix above the subreport.
I don't want there to be a page break after the objects in the report, I've tried setting the various options according to various online articles but no joy.
What are all the settings that need to be in place on both the subreport and the tablix to ensure there is no page break?

Have you tried adjusting the page layout options? I.E. portrait vs. landscape, page size, etc? If not, you can access them in Report Builder 3.0 On the Home tab, in the Layout group. Or for Visual Studio with BIDS, On the View menu, point to Toolbars, and click Layout.
If that doesn't work, does it seem to be page breaking solely on length of items on the page, or is it breaking on groups?

Related

SSRS 2016 - multiple tablix on one report causes overlap when rendering

I have inherited an SSRS report which had an existing tablix on it - I want to add a further tablix below to display data from another data set as the format is very slightly different - each tablix displays a different kind of sales for a certain customer.
I have added the second tablix and the report seems fine within the report designer renderer, but when I access it via MS Edge directly from the URL the first tablix overlaps the second and obscures it from view.
I have set a page break at the end of the first tablix, and at the start of the second, and again in the designer renderer it works fine and pages, but in MS Edge it overlaps across the page break. In Chrome it renders OK.
The issue I have is I am displaying this SSRS report in a Web Browser Control on an access for an it renders just like it does in MS Edge so it looks screwed up.
It is like the first tablix just runs over into page 2 rather than making the extra content of itself page 2, and the second tablix then on page 3. I don't even really need the pages as ideally it would all be one long report with a vertical scroll, but this overlap issue means I have been trying to force it to split.
Any other way I can stop the first tablix obliterating the second one?
I had a similar problem recently (I found your question while searching for an answer). I didn't want to go to all the trouble of creating a sub report and eventually tracked down the cause of the issue for my case which may be the same as what you were experiencing.
The issue was that my first Tablix was setup with a height of 2.7cm. My second one's top was 2.66781cm. That caused both of them to overlap with each other when the report was rendered. When I changed the top of the second Tablix to 2.7cm the issue was resolved.

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.

Adjusting subreport headers in SSRS

I'm trying to create a sort of master subreport that I can use as a header for other reports.
The subreport has 2 image logos in the left and right corner. I insterted the images in the body of the subreport.
My struggle here is to make it as universal that it works with all reports.
Some of the destination reports even though they are all A4 size reports, have different size report bodies. For example, the destination report is a bit more narrow than the subreport with header, in the preview I end up with a wider header than destination report body, the header clearly takes the width from the header subreport. Is there a setting or a way that I could set the width of the subreport header to fit to the destination report width?
The only possible workaround currently I can think of is to play with the margins etc in each of the destination reports
Easy way to handle this: Use an internal parameter that defaults to false to toggle the visibility of elements like title blocks and images.
When including the report as a subreport, set that parameter to true and you'll have a stripped down data-element only version. Then put titles and other formatted layout around the subreport in your master report. That way you can make everything line up there.

Access 2010 - SubReports Spacing

I am having an issue where when I am in design view on the report I have two subreports on top of each other and it looks like it should preview just fine for the report but then when i take a look at it in report view or print preview it shows the report on the bottom of the top report on a new page even though there is nearely to no spacing between the subreports in design view. I've tried shrinking the subreport, making the text smaller and nothing is working.
Probably the subreports on the left and right are the problem.
If they are set to "Can grow = Yes", they will force the bottom subreport to be printed below their bottom border.
To prevent this, you will have to combine the two subreports in the middle into one subreport (you can nest subreports).

Keep header row in each page

I'm writting a SSRS 2008 report using 1 tablix and 2 Row groups, I've flagged the page break options for the parent group and Rows headers options in the tablix properties.
The page break is working fine, but I can't show the header en each page. I was tried to many ways with unsucessfully result.
If you want a page header to appear on every page, there is an option to add page header sections in SSRS: on the design surface, right-click the report, point to Insert, and then click Header or Footer.
More information about page headers and footers in SSRS can be found here.
There's two sets of properties and both have to be set... one on the tablix itself (repeat on new page), then just above the group list there's a button on the right to go into advanced mode. That shows you some hidden (Static) groups, and once you select those they also have properties to repeat on new page that have to be set.