vk01 Posted November 7, 2007 Share Posted November 7, 2007 Hi, We want to have a sub-reprot in the title part of the main report. Having some formatting issue, with space. It is adding some additional space into the title in addition to what was set in the subreport. why would there be so much space? thanks. Link to comment Share on other sites More sharing options...
Pedja Posted November 7, 2007 Share Posted November 7, 2007 There could be two reasons for that:1. your subreport has margins>0px or some bands that you do not use >0px (like Summary), check this.2. in your master report you have some white space under your subreport element, and the subreport pushes that space down as it expands. Hope that helps! Link to comment Share on other sites More sharing options...
vk01 Posted November 8, 2007 Author Share Posted November 8, 2007 I have done that, set most of the document properties to 0, the one not being used, except for tjhe title area. how much height should the master report be set at, in order to display the report? Thanks. Link to comment Share on other sites More sharing options...
Pedja Posted November 8, 2007 Share Posted November 8, 2007 The subreport expands to the size it needs, and it expands the band in which it is located, but pushes all the white space under it . For example, if your Title band is 20px high, your subreport ELEMENT is 10px high and aligned to the band top, and the SUBREPORT itself is 30px high, in the master report you will end up with Title band that is 40px high - 30px for the subreport and 10px of whitespace under the subreport element.You can also try to shrink the subreport page size to minimum (Edit->Report properties, Page height and Page Width). Link to comment Share on other sites More sharing options...
pttsui Posted November 13, 2007 Share Posted November 13, 2007 You probably experience the same problem I hadhttp://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=215&func=view&id=32741&catid=9 Link to comment Share on other sites More sharing options...
venz_98 Posted November 14, 2007 Share Posted November 14, 2007 Whenever i'm using subreports i always remove magins and set the band height to 0 for unused band. hope this help!!! 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