suggestion where to look to find why my report has extra blank pages - ssrs-tablix

I am on Msoft SQL Server Report Builder, v15.0
I have a multi page report that no matter that forces a blank page every 2nd page.
I have searched through the tablix properties, report properties, header & footer properties and have not found a culprit yet.
I fear that there are somehow some hidden pieces that are causing this issue, but I do not know how to be able to see the hidden pieces.
I have opened the .rdl file up in notepad++ and started walking through the code, but I am not certain where I should look at in there that would cause my problem.
It is a 10 column report that is generated from a dataset culled down, but the report has 3 calculated fields in it, including a column which generates a ranking number.
If you know of a explicit piece of code I should search for that would be awesome, but I know that is a needle in a snowpile.....

Found finally what I had done...
my durn body was the same width as the page sheet so it was pushing the margins off and creating a new page.
Here is a good walk through of what I found.....
http://www.keepitsimpleandfast.com/2009/12/export-of-reporting-server-reports-to.html

Related

Overlap Subreports SSRS

I was trying to create one report with several pages doing this:
I've created like 3 reports with different embedded datasets (each report has nothing to do with the others).
I've created a main report where i put the 3 subreports, overlaying them.
In SSRS web view i can change the the pages in order to see each subreport in a different page.
The problem is when i tried to export the report in PDF, there is not a "page break" so the first page contain all the reports overlayed.... this is a big issue....
Is there a way to fix this?
You can enclose sub reports in a rectangle and provide page break properties to the rectangle.
1st sub-report should be within 1st rectangle and as is.
You can also make sure, sub-reports are one-by-one in the design for proper page breaks.

telerik report barcode control add blank page

I have a Telerik report that is working as expected. The report list items in several pages.
The report consist of several columns displaying items' fields.
Once I add a barcode control to the items' columns, the report begin to produce a blank page after every single page.
I am sure that the barcode control is behind this issue as once I remove the barcode control, things are back to normal.
Even If I add a textbox instead of barcode the report print as expected.
I have tried all the available features to get rid of the added blank page but could not succeed.
Please advise and many thanks
ps. I am using Telerik Reporting Q1 2016
I believe your issue is related to the barcode.
I have found that the field can grow and cause objects to move around when you don't want them.
I would put the barcode on to another report against the same data to see how wide the actual barcode is. This will help you get an idea as to what Telerik is doing and then come up with a game plan.

BIRT: Fit to whole page in report design?

I have a report and want to fix it to 1 page (A4) regardless of the number of rows in the table. Usually it's 10 rows but can be more in some cases.
Anyway I need to use BIRT in a fixed context (3rd party application), eg. no option to adjust the BIRT viewer or url params. Therefore how can I add this option to my report design so that it is applied automatically?
I don't think it is possible to force a render option from the report-design. If it was it would probably achieved by using this code fragment from "beforeRender" script of the report:
importPackage(Packages.org.eclipse.birt.report.engine.api);
reportContext.getRenderOption().setOption(IPDFRenderOption.PAGE_OVERFLOW,IPDFRenderOption.FIT_TO_PAGE_SIZE);
I tried it, it appears at this stage the BIRT task has already applied render options and therefore this new value is ignored.
If you have access to the source code of this third party app it is quite easy to add a "Fit to" PDF render option.
Otherwise you will have to change the report-design and make it a little bit more dynamic: there are many design tips allowing to fit a report in a single page, one of them is to change the height of some items by script depending on the number of rows of the table.

Dynamic Text Control begins on new page when total data for the control exceeds an entire page

BIRT 3.71v20110905
One of my data fields is a CLOB with html tags. I'm using the Dynamic Text Control in my report. This specifically happens when:
The Dynamic Text Control content type is to HTML or Automatic
in my case since I have html tags in the data. (Problem does not occur if I set the content type to Plain, but then the HTML tags show up in the report output as text.)
and
The total amount of data to be displayed by the control is more than one full page on its own
(without taking into account spacing used by other controls). If the
total amount of data to be displayed by the control is less than one
full page but can't all fit on the current page, it works as expected (meaning it displays what it
can on the current page and wraps the rest correctly onto the next
page.)
Is this a bug in the calculation for the DTC pagination?
Additional notes - I encountered this while trying to use a sample report that inserts a page break as needed between groups for duplex printing. It works great under most circumstances, but not when this DTC pagination issue rears up. ( GroupAlwaysStartsOnOddPage.rptdesign )
Sorry to disappoint, but this is a known issue and has not yet been resolved. At least not in the version of BIRT that Maximo is using.
What I tend to do is break the dynamic text where possible, experiment until I get the largest possible part on one page and put the rest into another dynamic text field.
This is obviously only a work around, but as far as I know there is not much else that you can do.
We ran into this problem with a dynamic text field containing HTML content coming from IBM Maximo long description fields. The report was designed in BIRT 3.7.1 Designer.
We were able to work around the duplication bug by changing the layout from Fixed to Auto. With Auto layout, it is also not necessary to change the Display setting of the field to "inline" (which we previously had to do to allow it to flow between pages without creating an initial page break).
In our case, changing the layout to Auto did not have negative effects on the appearance or geometry of our report.

BIRT produces empty first page

After upgrading BIRT from version 2.3.2 to 2.6.1, some reports have started producing empty first pages. I've checked the source XML of the rptdesign and the referenced rptlibrary and verified that ALL settings of page break properties are set to "auto". I.e. there are no forced page breaks anywhere in the report definition. The first page contains the master page header/footer items but no data.
Being a relative newbie to BIRT I'm not sure where to go next to solve (or even debug) this problem. My Google-fu turns up some old BIRT bugs (2.1 timeframe) relating to empty first pages but they were resolved long ago.
Can someone suggest how debug this?
First Page
Second Page
I have identified the source of the problem. When this report was
originally designed (long before my time) a grid was used to effect some
padding around the outside of the content. At the top level of the
design (in the body) is a 3x3 grid with skinny top and bottom rows and
left and right columns, with all content going in the center cell.
body
grid
column1 width=2%
column2 width=96%
column3 width=2%
row1 (empty)
row2
table with all report content
row3 (empty)
All the border cells are empty, and if I completely remove the grid and
place the content table in the body directly, there is no initial page
break.
body
table with all report content
So the bug appears to occur if the content, which is larger than a
single output page, is inside a grid. In this case, the normal
suppression of the page break before the first page does not seem to
function.
It's not clear if this is a bug or a design decision, so I have asked
on the Eclipse community forums if this behavior is expected. I will
update this answer when I get a definitive reply.
EDIT: Looks like a BIRT Bug
EDIT: For us, an acceptable workaround is to simply delete the first row in the grid, which consisted of only empty cells anyway. If the too-large section occurs in the (now) first row, the spurious page-break disappears.
This happened for us when we were including svg - images in Birt. Removing them in the XML - document fixed the Problem. Interestingly this only happens with specific svg - images and not with all of them...

Resources