Report never overflows into second page
Posted on May 21, 2009 at 2:46am
I'm fairly new to to Jaspers reports and I've put together report using iReport. Most of the time it should only be a single page. If there is a large amount of data I want it to overflow into a second page. However this never happens. The data jus disappears off the bottom of the page. I cannot work out why. I've tried unchecking the page property "Ignore Pagination", which makes no difference. Can anyone help me out?
Posted on May 21, 2009 at 4:40am
Where You place your field in ireport?
you place these fields in detail band??
Posted on May 21, 2009 at 4:54am
Yes all my fields are in the detail band
Posted on May 21, 2009 at 9:33am
Can you post a sample of your jrxml file.
Posted on May 21, 2009 at 11:56pm
I've attached most of the code.
I think the problem is related to the fact the detail band may be larger than one page depending on the amount of data
Post Edited by philhale at 05/22/2009 06:57
Posted on May 22, 2009 at 12:27am
there is no record in your Report .first of all insert some data,I found no data is there.and the size of your report page is also 0.change it to your requirement.then your whole report is displayed.
Posted on May 22, 2009 at 12:49am
Sorry for the confusion. I removed the query from the jrxml file because I figured it was no use unless you have the database and some data!
Posted on May 22, 2009 at 1:01am
No Problem Just place some static text .So that i am able to see location of ur data.Data i will put myself.
Posted on May 22, 2009 at 1:25am
Here is the complete file
Posted on May 22, 2009 at 2:17am
Hi you place all data in detail band.but in detail you have to put only fields for which you need detail.and place the rest whole static text in group footer or summary band.I think this might be the reason for not getting the whole report data.
Posted on May 22, 2009 at 3:14am
I've just tried putting the static data into a summary or page footer band. Unfortunately it still doesn't work! The static text gets pushed onto a second page but there the bottom one or two sections of the report, "Payment Details" and "Additional Information" are sometimes still missing
Posted on May 22, 2009 at 3:34am
try to put "Additional Information" in group footer.
Posted on May 22, 2009 at 5:27am
Posted on May 22, 2009 at 6:45am
You can check page height in report properties panel.I am sure you must have kept it to some high value.Please let us know if problem is solved.
Posted on May 22, 2009 at 7:05am
Yes the problem is solved thank goodness. I created a dummy group and split the various fields between the dummy header, detail band and dummy footer. I also unticked "Ignore Pagination" and set the print order to "Vertical" in the properties dialog