Merge prepared reports
Hi,
I need to merge several reports together and export the result to pdf. I've seen in the FAQ the following snippet:
Report report = new Report(); report.Load(Path.GetFullPath(@"..\..\Report1.frx")); report.Prepare(true); report.Load(Path.GetFullPath(@"..\..\Report2.frx")); report.Prepare(true); report.Load(Path.GetFullPath(@"..\..\Report3.frx")); report.Prepare(true); report.ShowPrepared();
But doing this messes the "PrintOn" property in my reports. In the example above, if I configure something in Report2.frx with property "PrintOn" set as "SinglePage", it never will be printed as the result report has already the page(s) from Report1.frx...
What would be the correct way to achieve this task? I've tried to export each report individually to pdf and merge the streams, but I see only the first report when I open the pdf.
Thanks in advance for any advice