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

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?

Related

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

birt report viewer how to show all results on same page

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.

Repeating Images in HTML Preview

I have created a report in iReport-5.5.0 (JasperReports) with a pair of images that displays properly in it's internal preview, pdf, and word. When I generate html from the report, I get hundreds of extra occurrences of my images in various sizes all throughout the resulting document. The images in question are contained (one each) in SubReports in my form, but all of the SubReport content is static. Furthermore, the SubReports are contained in Page Header and Page Footer bands, and the SubReports themselves also only contain either a Page Header or Page Footer band.
Why is the html not displaying the report correctly? Where are these extra images coming from?
The expression class for my images from when they were dragged out were set to 'java.lang.String'. When I changed them to 'java.awt.image', the repeating stopped. It looks like they may have reverted back, but the repeating didn't come back, so I'm not worrying about it.

sub report always coming second page of crystal report in visual studio project

I designed crystal report like this:
in this i have a sub report named
TransactionDetailed
that i given in ReportFooter part. while coming records am getting two problems
1->sub report heading not coming all pages,,i want to show sub report heading where ever i am getting subreport
2->in first page of my crystal report only showing main report...not getting sub report,,sub report alwayes showing 2 nd page of my crystal reports onwards,,
how i can resolve these two issues?
The way your report is structured is the reason you are not getting correct results. Report Header and Footer should only contain information you want to show ONCE. Page Header and Footer should contain information you want to see on every page (i.e. a logo, legal info in the footer, etc.). Group Header and Footer will show data for the items you have grouped by. The detail section will show all data that pertains to the group. So either group your data and then put the subreport in the Detail section or create a second detail section and put your subreport in there.

Repeat element on every page of an RDLC outside of header/footer

In VS2010 I have a report, with a table of data that can cause the report to span multiple pages.
Also on this report I have a rectangle that has some contact information for the company the report is for, that I need it to repeat on every page, to the side of the previous table. However this rectangle is not, and cannot be in the header or footer. Is there a way to make an element of a report repeat on every page?
I'm afraid there isn't. You'll have to mimic this by splitting your report into pieces and forcing page breaks after which you display the header again. You can use the List component to do this and group your data to a fixed row height to break to a next page.

Resources