I would like to note that FastReport VCL is one of the most convenient components for generating reports of any complexity. After all, here we can use not only different types of DBMS, but also Swiss barcodes, maps, tables, graphs and many other objects. Quite often we are asked “how to create one single report out of several?”. Well, easy! Look!
For this purpose, FastReport has a function that helps to create a new report in addition to the previously generated one. The TfrxReport.PrepareReport method has one optional ClearLastReport:Boolean parameter, which by default is True. This parameter determines whether the pages of the previously built report should be cleared. There is one small detail. When creating the first report, you use a DataSet from one database, when creating the second report – from another.
An example of building a combined report:
...