First off, I am using a version of iReport 2.0.0.
A customer has asked for a 2 page report. This report contains a header (which is shown on both pages with the page number and then some static information), one block of information that is queried from the Oracle server, and then about 7 static images that cover up the rest of the front page and the second.
The problem is, there is no way to create a second page in iReports. So to work around this, I tried doubling the page size for 2 pages and inserting a page break where the first page would end. While this looks great in iReports, when I execute it in PDF format, I get the first page with all the right information, and then 11 inches of white space, and then the page all correct, except with 11 inches of white space.
I tried shrinking the page back down to 11 inches again, however, when I do that I get a build error saying my details section is out of the margins and it just overlaps all my images and I basically just have one page again.
Does anyone have a solution for multiple pages like this? Thanks.
Put the page number and page header stuff in a page header band, then the database-driven data and the images in the detail band. Jasper should flow the images into the second page when it runs out of room on the first.
Related
Here is my basic bar code template in Crystal Reports:
The problem is that when I try to print off this bar code everything in the Page Header and Details tabs print off on a separate page, in the end I get one page with the Report Header AND the Page Header, and another page also containing the page header and the details. When viewing the print preview, I can only see the headers and not the details. Why is this?
I've solved the problem, originally ankur told me to Increase the width of the details section and check it again, so I did this to no avail. So instead I decreased the height of the entire thing as far as I could, as in the Page Setup the size of 1 page is 1.4 by 3 Inches, and could not be changed due to label printer limitations. Now that the page has been sized down to meet that 1.4x3 limitation, it prints on 1 page/label.
I build report by using cross tab in crystal report in the first page i have title page that take area about 1/4 of the page consist with logo and report name and filter detail So on the second page it shown up the same position as the first page something that I want is to remove the report header section and move up the page header section and detail section to top on the 2nd page Thanks you for answer and i want to know Is this need to do ?? because some aspect of user tell that Its' okay don't move 2nd page up its should be like this same position same line its easy to read and compare the pages some aspect think that it's lost the area of the head of page 2 it's useless what should I do from here
To cojimarmiami,
i tried your suggestion formula but it' doesn't work when i preview it show just a page in horizantal by the vertical space separate it for 2 Block (not page) and when i printed its' come out 2 pages in A4 paper What should i do for the next step Thank you
you will have to place your logo, report name and filter on Page Header, then go to that Section Expert and place this formula on Suppress pagenumber <> 1. That is going to suppress that section if your are not on the first page.
I have a report with dynamic subreports and a page footer that should stick to the bottom of the page. The problem is that the text is dynamic and some pages have more text, some other pages have less text. When the page has less text it pulls the page footer up and when the page has more text, it pushes the page footer down. I have specified the page height property pageHeight and I have placed my stuff in a band in pageFooter. I have tried using the background instead of pageFooter and this actually forces the page to have a constant height and it works fine except a tiny little detail that kills the entire solution. In some reports it prints the header of the table alone at the end of the page like in this image:
If I use the pageFooter the header of the table does not appear alone. It appears only when I use background. It seems to me as if when I force the page to the maximum height, it causes the head of the table to appear alone. The report is huge. It spans tens of xml files. I don't think it is a good idea to post it. And the xml is full of java code. I will post portions of it upon request, if that helps you get a better idea. I hope I explained the issue clear enough. Any ideas?
Thank you in advance,
Corneliu
We are trying to create Crystal Report but have a problem with page template creation.
Report looks like this:
It should be "stamp" in the right bottom corner of page. First page stamp looks little different from other pages stamp.
At the left part of page on the left margin two objects are placed. Both of them oriented vertically and should work as header and footer (should be shown on every page) but take more room than required for usual header and footer. In this case we can't use usual header and footer to place these objects.
Tables on pages should work as "background" because even 1 record on page should show 20-row table (with first row filled in this example)
It would be great if we have something like "left running title" but we can't see such feature in CR.
I attached couple images to show how the report should look (sorry, i can't post images here because have no enough reputation points):
First Page Second Page
Could you please say how such report template can be created? We have no skilled CR developer in our company and have no idea which way of report creation can be used :(
We also agree to use another report engine if it is free and can work with .NET applications
Thanks for help
Dmitry
You can use underlay property of the sections to get the desired result. You can use the page header and page footer for putting the details and for page-header, set the underlay property to TRUE and for the footer, set the property of the detail section (I presume, you have a single detail section in the report) to TRUE. This will make the details of the header and footer display beneath the detail section.
I would like to build a report that starts at the bottom of a page and grows upwards instead of a report that starts at the top of the page and grows downwards. How could I do this?
--Edit--
For clarification, below is an image depicting the way I need to construct the report.
Basically, I'm looking for a way to have the whitespace at the top of the page and the data at the bottom of the page, instead of the more traditional look of data at the top of the page and whitespace at the bottom of the page.
Without knowing much about what the request is, I don't believe there is a way for the report to run from the bottom up, but you could possibly do a couple things to fake the system out.
For example you can do something like in the following link to put your summaries in the header:
Crystal Reports: global variable running total not displaying in header
Then you can play with the sorting of the details if you need the rows to go in decending order.
Hope this helps.
[EDIT] I see you updated your question so I'll add an update to my answer.
One more thing you can try out is to play around with the Print at the Bottom of the Page and Keep Together properties of the sections. I haven't tried this, but one thing you may be able to do is put the section at the bottom of the page and perhaps find a way to have the section grow from there. You will have an issue if the page goes to another page and though it seems possible in my head that the section could grow while being placed at the bottom of the page I haven't tried it so it might not work. I am just throwing it out there for one more thing you can try. Hope this helps.
You could try:
Create an empty report with your headers and related text
Put a subreport displaying your data in the report footer and set the sort order for the subreport query to descending.
In the report footer properties, select Print at bottom of page
I tried it with some sample data and it works, but I'm not sure what will happen if your data goes to two pages.