Merge Reports
Hi
I have 2 reports, lets call them Report1 and Report2
Is it possible to merge those two report into 1 PDF file? I can not put them into one designer since I need 3 copies of Report1 and two copies of Report2?
I have 2 reports, lets call them Report1 and Report2
Is it possible to merge those two report into 1 PDF file? I can not put them into one designer since I need 3 copies of Report1 and two copies of Report2?
Comments
It is possible to merge multiple reports into a single file using the built-in Device.StartPrintJob and Device.EndPrintJob properties. See the following article for more information and an example.
http://rbwiki.digital-metaphors.com/output/pdf/how-to-merge-multiple-reports-into-one-pdf/
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
That worked very well. Thank You for that.
Is it possible to have 3 copies of the first report and 2 copies of the second report in the same PDF.
This can be done by creating loops around the PrintToDevices calls (or perhaps creating a sub routine to handle it more elegantly). Something like the following.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com