manshack_one Posted November 6, 2009 Share Posted November 6, 2009 I have a requirement to build a new report that includes about 7 existing reports. Basically the 7 tie together in some fashion and instead of running them individually they'd like to run one report that shows them all. That was easy enough thinking I'd just create a wrapper report and include the 7 as subs. However now they've decided they want to include the option to choose which of the 7 to run instead of all 7 all the time. So, I'm thinking I need a multi select input control but I'm not sure how to pass in the list of what subreports to include to the wrapper report or how to setup whatever variables are needed in the wrapper to decide which subs to fill and which ones not to.As if that wasn't enough I need to wrap a date range around it to pass through and multi selects on the facility locations inside the reports (which is again broken out by choosing all, by region, district, division and individual locations).So help me out. How do you create an input control that manages which subreports print? Link to comment Share on other sites More sharing options...
lucianc Posted December 3, 2009 Share Posted December 3, 2009 You can create a multi-select input control backed by a java.util.Set parameter, and use the subreports' print when expressions to show or skip subreports.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