Jaspersoft Community 'Read-Only' as of July 8, 2022
Transition to New TIBCO Community Just Weeks Away
You can still search, review wiki content, and review discussions in read-only mode. Please email email@example.com with questions or issues requiring TIBCO review or response.
I'm working with Studio version 6.2 to create a book report which, for the most part, is fine.
Something I haven't been able to do is to control printing of a book part that consists of a text element (in the page header band) and 4 sub-report elements (each in a detail band). The book part should be printed if one (or more) sub reports return data. Each sub report uses its own data source. The data source for the book part is JREmptyDataSource(); Given the descriptions of the JREmptyDataSource() and "When No Data Type" I don't think I can use these to determine whether or not the book part should be printed.
I've tried returning values from the sub reports and using a scriptlet to determine the total number of records returned to the main report. I haven't been able to use either to successfully acquire then use each sub report's REPORT_COUNT.
Any advice on how to achieve the above would be much appreciated.