kjvang Posted April 13, 2011 Share Posted April 13, 2011 I created a subreport with 2 columns. When I run the report by itself it produce 2 column. Once i place the report as a subreport on another report, the subreport produce a single column instead of 2 column. Any idea???I'm using ireport 3.7.4 and jasperreport 3.7.4 Post Edited by kuevang at 04/13/2011 21:04 Link to comment Share on other sites More sharing options...
gervase Posted April 21, 2011 Share Posted April 21, 2011 Can you check the size of your report?Does the data returned potentially go out of bounds from the band it is in?Try making the main report a lot larger to see if the sub report will fit inside it no matter what. Link to comment Share on other sites More sharing options...
cyberdemos Posted August 25, 2011 Share Posted August 25, 2011 Hi all,i've the same problem.I've done a subreport with 4 columns; in each of them i put two fields and running alone this subreport is all ok. In fact the height of the detail band is limited to display only one row orizzontally.When I insert it into the main report the records of subreport are written vertically.At the bottom of the page of main report the subreport try to insert all rows writing horizontally... this is not normal...Attached some images...Regards,Cyb. Link to comment Share on other sites More sharing options...
cyberdemos Posted August 25, 2011 Share Posted August 25, 2011 *** PROBLEM SOLVED *** Go into the report properties and set print order Horizontal.See the link http://jasperreports.sourceforge.net/sample.reference/horizontal/index.html for a sample.Regards, Cyb. 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