philhale Posted May 21, 2009 Share Posted May 21, 2009 HiI'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?CheersPhil Link to comment Share on other sites More sharing options...
harinderrakkar Posted May 21, 2009 Share Posted May 21, 2009 Where You place your field in ireport? you place these fields in detail band?? Link to comment Share on other sites More sharing options...
philhale Posted May 21, 2009 Author Share Posted May 21, 2009 Yes all my fields are in the detail band Link to comment Share on other sites More sharing options...
svenn Posted May 21, 2009 Share Posted May 21, 2009 Can you post a sample of your jrxml file. Link to comment Share on other sites More sharing options...
philhale Posted May 22, 2009 Author Share Posted May 22, 2009 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 Link to comment Share on other sites More sharing options...
harinderrakkar Posted May 22, 2009 Share Posted May 22, 2009 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. Link to comment Share on other sites More sharing options...
philhale Posted May 22, 2009 Author Share Posted May 22, 2009 HiSorry 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! Link to comment Share on other sites More sharing options...
harinderrakkar Posted May 22, 2009 Share Posted May 22, 2009 No Problem Just place some static text .So that i am able to see location of ur data.Data i will put myself. Link to comment Share on other sites More sharing options...
philhale Posted May 22, 2009 Author Share Posted May 22, 2009 Here is the complete file Link to comment Share on other sites More sharing options...
harinderrakkar Posted May 22, 2009 Share Posted May 22, 2009 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. Link to comment Share on other sites More sharing options...
philhale Posted May 22, 2009 Author Share Posted May 22, 2009 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 Link to comment Share on other sites More sharing options...
harinderrakkar Posted May 22, 2009 Share Posted May 22, 2009 try to put "Additional Information" in group footer. Link to comment Share on other sites More sharing options...
philhale Posted May 22, 2009 Author Share Posted May 22, 2009 That seems to have sorted the problem. Also this page was helpful: http://jasperforge.org/website/jasperreportswebsite/trunk/faq.html?group_id=252Many thanks! Link to comment Share on other sites More sharing options...
nikunj321 Posted May 22, 2009 Share Posted May 22, 2009 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. Link to comment Share on other sites More sharing options...
philhale Posted May 22, 2009 Author Share Posted May 22, 2009 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now