Report never overflows into second page
Posted on May 21, 2009 at 2:46am
Hi
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?
Cheers
Phil
Joined: May 21 2009 - 2:39am
Last seen: 14 years 4 months ago
Posted on May 21, 2009 at 4:40am
Where You place your field in ireport?
you place these fields in detail band??
Joined: May 5 2009 - 3:27am
Last seen: 10 years 7 months ago
Posted on May 21, 2009 at 4:54am
Yes all my fields are in the detail band
Joined: May 21 2009 - 2:39am
Last seen: 14 years 4 months ago
Posted on May 21, 2009 at 9:33am
Can you post a sample of your jrxml file.
Joined: Mar 19 2007 - 5:57am
Last seen: 16 years 6 months ago
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
Joined: May 21 2009 - 2:39am
Last seen: 14 years 4 months ago
Posted on May 22, 2009 at 12:27am
HI Sir
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.
Joined: May 5 2009 - 3:27am
Last seen: 10 years 7 months ago
Posted on May 22, 2009 at 12:49am
Hi
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!
Joined: May 21 2009 - 2:39am
Last seen: 14 years 4 months ago
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.
Joined: May 5 2009 - 3:27am
Last seen: 10 years 7 months ago
Posted on May 22, 2009 at 1:25am
Here is the complete file
Joined: May 21 2009 - 2:39am
Last seen: 14 years 4 months ago
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.
Joined: May 5 2009 - 3:27am
Last seen: 10 years 7 months ago
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
Joined: May 21 2009 - 2:39am
Last seen: 14 years 4 months ago
Posted on May 22, 2009 at 3:34am
try to put "Additional Information" in group footer.
Joined: May 5 2009 - 3:27am
Last seen: 10 years 7 months ago
Posted on May 22, 2009 at 5:27am
Joined: May 21 2009 - 2:39am
Last seen: 14 years 4 months ago
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.
Joined: Dec 5 2008 - 2:46am
Last seen: 14 years 9 months ago
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
Joined: May 21 2009 - 2:39am
Last seen: 14 years 4 months ago