tomkast Posted March 1, 2010 Share Posted March 1, 2010 hi --have a page header with height of 472 on first page. then on subsequent pages, we just need a 1 inch page header. what is the best way to acheive this in jrxml?current approach is to have page header elements below that first inch to print only when page_number == 1. and that works fine, only that the page header band will not shrink on subsequent pages (so we get the 1 inch page header we want, with 4 inches of blank page below that, then the detail...). if this is a good approach, how do you get the page header band to shrink in height?thanks,tomPost Edited by tomkast at 03/01/2010 19:06 Link to comment Share on other sites More sharing options...
tomkast Posted March 3, 2010 Author Share Posted March 3, 2010 ...tried making a subreport for portion of page header band that needs to print on only first page, make page header bank very small and let it stretch with the subreport. this works, page header expands on first page, then shrinks on subsequent pages. but performance is no good. so tried making that subreport use all parameters and no query, but as luck would have it, that subreport has 5 other subreports that each need a db connection/result set...any ideas how to make page header band collapse/shrink rather than expand?thanks! 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