How can I integrate four reports into one.
D5 Ent, RB7
I have an application which generates a series of 4 printed reports. This
is working fine. I have added TExtraDevices for generating PDF versions of
these reports and this works fine. The application now creates 4 PDF files,
one for each report.
What I am trying to do is generate a single output stream such that I can
control the order of how the pages are output from my four reports. I would
like to end up with a single PDF file containing all pages from the four
reports. The order of these pages in the PDF to be controlled by my
application.
As an example:
First PDF page (page 1 of report 1)
Second PDF page (page 1 of report 2)
3rd ( page 2 of report 1)
4th ( page 2 of report 2)
5..x (all of report 3)
Any thoughts on how to do this?
Thanks
Mark
I have an application which generates a series of 4 printed reports. This
is working fine. I have added TExtraDevices for generating PDF versions of
these reports and this works fine. The application now creates 4 PDF files,
one for each report.
What I am trying to do is generate a single output stream such that I can
control the order of how the pages are output from my four reports. I would
like to end up with a single PDF file containing all pages from the four
reports. The order of these pages in the PDF to be controlled by my
application.
As an example:
First PDF page (page 1 of report 1)
Second PDF page (page 1 of report 2)
3rd ( page 2 of report 1)
4th ( page 2 of report 2)
5..x (all of report 3)
Any thoughts on how to do this?
Thanks
Mark
This discussion has been closed.
Comments
To combine these reports into one file, you will need to load each report
into a subreport residing in a main report object and then generate them to
memory and reorder the pages. Below is a link to an example that creates a
spreadsheet style report using this techinque and is what you need to do.
http://www.digital-metaphors.com/tips/SpreadSheetStyleReport.zip
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com