Jasper reports: how can I increase the number of reports in a report?

My requirements are to show two reports in a report. I do this, I created two sub-reports and put them on the report.

But the problem is that both auxiliary reports are growing (i.e. their height is not static, as the number of records is variable). I just want the second sub = report to appear after the end of the first sub-report. How can I achieve the same?

+4
source share
3 answers

In the page footer, you can place the second subreport inside the first subregister. The footer moves down when the band of parts grows, so the subreport should always be below the contents of the first report.

Greetings

Alexander

0
source

You can use the "Position Type" option by selecting "Float" as the value. Therefore, based on the first size of the reports, the second will be adjusted.

Regards, Ravendra Mutala

+12
source

Try adding a part group to your main report, such as your subordinate (you can right-click on the melody group and select β€œAdd another part group”). And place each report in each group of tunes that you make. Detailed bars have the ability to decrease and increase depending on your data row, and it will fit well into your report.

+1
source

Source: https://habr.com/ru/post/1305414/


All Articles