How to combine two already functioning reports?

后端 未结 2 1977
盖世英雄少女心
盖世英雄少女心 2021-01-15 05:45

I have done some research on subreports and have even built report that use several subreports.

I am having an issue combining 2 already made reports so that they bo

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-15 05:58

    There is now a third way to concatenate them, especially if the reports have different page size and/or orientation.

    Instead of running them as subreports inside a master report, you can run them as parts inside a book report.

    Please check the /demo/samples/book sample inside the JR Lib project distro package and you can see how 3 reports with different layouts are run together to produce a single file output.

    Also, the /demo/samples/tableofcontents sample relies on this new type of report template, which we call book and is made of parts instead of bands.

提交回复
热议问题