Integrate Jaspersoft Independent sub-reports into a parent report with expert guidance from DataTerrain
Jaspersoft Sub-reports Integration
Create sub-reports in JasperStudio using JRXML, setting zero margins for a page-section look.
Creating Sub-Reports Using JRXML Source in JasperStudio:
The JRXML source of a Jasper file is used for creating a sub-report in Jasperstudio; sub-report margins are typically set to zero because they are intended to be a section of a page rather than a whole document. The sub-reports horizontal dimension should be the same size as the element in the parent report.
There are three steps to creating and adding a sub-report:
Create a report:
Create a parent or master report that will contain the sub-report.
Create a sub-report:
Create and compile a sub-report. Optionally create a dynamic connection to filter
the records of the sub-report based on the parent's data.
Add the sub-report to the parent report:
Insert a sub-report element and specify the following:
The data adapter or data source for the sub-report.
The location of the sub-reports compiled Jasper file.
An optional parameters map (it can be empty) to set the report parameters
used in the dynamic connection.
DataTerrain is backed by years of experience and a team of reliable experts ready to assist. Having successfully served over 200 customers in the US and an additional 60 plus customers worldwide, we pride ourselves on flexible working hours and a commitment-free approach, avoiding long-term binding contracts. Build your analytics game with DataTerrain - where expertise meets excellence!