wexwarez Posted October 31, 2006 Share Posted October 31, 2006 I can't get my subreport will not print in the last page footer. I get this error:net.sf.jasperreports.engine.JRRuntimeException: Subreport overflowed on a band that does not support overflow. Can anyone suggest a way around this? Why are we not suppose to use subreports in the last page footer? Link to comment Share on other sites More sharing options...
Teodor Danciu Posted November 1, 2006 Share Posted November 1, 2006 Hi, The page footer (including the last page footer) is a section that has a fixed height. Your subreport seems to overflow because it has to display more information then what can fit into the page footer.Have you even thought what should happen in this case? Well, the reporting engine cannot accept such situations where the page footer content does not fit into the page footer predefined size. Simply put: if the last page footer overflows, it will no longer be the last page footer, would it? Another page will follow... You have to reconsider your report design. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
stradale Posted June 17, 2009 Share Posted June 17, 2009 Seeing as this is a rather old topic and things may have changed: is it possible to define the height of the footer band dynamically?I'm trying to make the page footer height customizable by the end user. The problem is that this band is of fixed height. I've tried different subreports/bands combinations and none of them worked. My only solution so far has been to compile the jasper file at runtime. Is there any way to avoid this rather unelegant solution? Link to comment Share on other sites More sharing options...
lucianc Posted June 25, 2009 Share Posted June 25, 2009 stradaleWrote: Is there any way to avoid this rather unelegant solution? No (currently, at least).The engine needs to know the height of the footer a prori in order to determine how much space is available on the page for the details/rest of the bands.Regards,Lucian 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