sabel Posted August 19, 2015 Share Posted August 19, 2015 I have a report with 3 detail bands, each containing a subreport. It runs fine as is, but I would like to be able to selectively show or hide each of the bands or subreports. I am still very new to iReports, can someone help me please. Link to comment Share on other sites More sharing options...
hozawa Posted August 19, 2015 Share Posted August 19, 2015 Since you're new to iReport, just a warning. iReport is no longer being developed. It is scheduled to be retired at the end of this year.So, don't use it. Use Jaspersoft Studio. Link to comment Share on other sites More sharing options...
sabel Posted August 20, 2015 Author Share Posted August 20, 2015 I plan to migrate to JSS soon. Unfortunately, I can not be idle and must continue to learn and develop reports until then. Link to comment Share on other sites More sharing options...
fabricerd Posted August 21, 2015 Share Posted August 21, 2015 With ireport or jasper studio you should be able to add parameters at report level with type and default value For example a Boolean printDetail1 and another printDetail2 At the detail band level you will find a property "print when expression" that you can fill with your logical test in your case printDetail1==true and printDetail2==true on your other band 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