It is often necessary to combine several documents into one (for example, PDF). It could be several chapters of documentation, catalog directories etc. Strictly speaking, this sometimes needs to be done not only for PDF, it’s just that this file format itself does not imply editing and “merging” without special tools, so it would be better to do it correctly right away.
Today I will tell you how to do this in FastReport VCL and FMX. In our case, there will be several reports at the input and one file at the output.
So, I suppose we already have a project using FastReport and the templates are prepared. In our example, these are files on the local storage but nothing prevents from taking them from the database or some other sources. Now we need to combine two (or more) reports into one large file.
For this, FastReport has tools that allow us to attach a new report in addition to the existing one. The TfrxReport.PrepareReport method has one op ...