The subreport element is the part of report which is used to include a report in another report represented by an external Jasper file and using the same database connection used by the parent report.
There are following steps used to subreport inside the main report: 1) Create a new report – Use this option when we need to use a new query from your main report. 2) Select an existing report – Use this option when you already have a report using the data and query we need. 3) Just create the subreport element – Use this option to create a placeholder to be used later.
















