birt report viewer how to show all results on same page - birt

I have a report with a large number of rows displaying from a data set. When I preview the report in the BIRT report viewer from the eclipse report designer (during my development) it allows me to scroll and see all the rows in the report without having to skip pages.
However when I see the same report in the Birt report viewer from my web application (java), the report viewer only shows about 50 rows per page and then I have to click on the next page button which is not what I want.
Using the report designer I have set the page break interval to 200 and avoid Before, After and Inside but still in my web application it doesn't show all the results in the same page like it does in eclipse.
Can someone help me with what setting I am missing to show all the results on the same page please. Here is how I embedd my report viewer into my jsp....
<birt:viewer
id="birtViewer"
reportDesign="resources/reports/${reportName}.rptdesign"
pattern="frameset"
format="html"
height="600"
width="900"
title="${reportTitle}"
isHostPage="false">
<c:forEach var="entry" items="${reportParams}">
<birt:param name="${entry.key}" value="${entry.value}"/>
</c:forEach>
</birt:viewer>

This problem seems to be related to the height of the masterpage. When a layout of a report is set to "fixed" (see picture below), the masterpage has priority on the value of the pagebreak interval. Most of the time this height is set to 11 inch or something like that, this is why there are still pagebreaks even if we set a very large interval.
If we set a layout to "Auto", this time pagebreak interval is taken into consideration (at least in html format).

You can set the number of contents for the page in Page Break Interval as shown in the image.

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.

Printing issue with SSRS report

I have run into a problem with an SSRS report..... The report will generate around 20 pages, with unique data on each page. I have used a page break to do this.
At the top of each page is some data referring to each page.... a vehicle reg number, a driver name etc. This data is coming from an expression. reportitems!.columnName.Value & reportitems!.columnName.ValueWhen the report is run, in design mode, or viewed in Chrome after being deployed, each page has the correct data at the top of the page.... the driver name changes etc.
However, when the report is printed from the browser, or exported to a PDF, the data at the top of each page is now the same. Basically page 1 info is repeated on each page. The report data is still unique on each page, but the reference at the top has now repeated.
Has anyone ever encountered a similar problem, or any idea what may be causing this? I am very confused, as before printing, the report is showing all data as expected.
The 2 images show page 1 and 2 of the report, both numbers in the expression are different.
This image shows page 1 and 2 in the PDF, both numbers are now the same.

crystal reports page footer not showing on the first page if no page header

I have several Crystal Reports (2008) and the layout I want on the first page contains report header (summary graph of data) and the page footer (text-box and number). This works just fine on 3 reports. But then there is this report which is not working.
I have positioned in this report exactly the same elements of the same sizes and of the same positions as in the other reports. Page setup is the same in all of them. But when the problematic report have the same report header size (18,75cm), which in other reports leaves the good space for the footer, the footer is not showing. When I decrease the size of the report header-section about to 17cm suddenly the page header pops up there together with the footer. As can be guessed, I don't want the page header appear in the bottom of the first page... it does not do so in the other reports.
What makes Crystal "think" that page header should be displayed before showing page footer?

Dynamically set PageHeight in RDLC Report

I have an RDLC Report which retrieves around 10000 rows from the database. I am generating an image of the RDLC Report but the image is breaking in between and not showing all the records.
I have tried setting the Page height in Report Properties but it is not working.
How can I set the page height dynamically to incorporate all the rows in the image??
I made an RDLC Report with the help of report viewer (in an aspx page) and integrated that in my controller.
Refer this
link

how to put odd page number on the left side of the birt report

In my BIRT report, I need to start the page number from second page of the report, and need to put page number left or right side of the report according to odd or even page. Is there any way I can achieve above requirements.
Report may have different Master Pages on different pages. Create one Master Page with page numbering visible, one without. In the element starting new page select required Master Page in Property Editor -> Page Break -> Master Page.
For the second part it is not the real answer, but only my comment about. Changing way of page numbering was subject of many BIRT bugs and it may work only in some BIRT versions. It is the matter of affecting Master Page content by report content, while Master Pages are generated before report. See examples in Eclipse forum:
How to restart page numbering within a group in BIRT 3.7.1
Page number and total page

Resources