Which version of ReportBuilder are you using? Starting with RB 9.01 each file device descends from the TppStreamDevice. This allows you to define the OutputStream property of each device and generate directly to that stream. Take a look at Demo 109 in the \RBuilder\Demos\1. Reports... directory (dm0109.pas) for an example of how a PDF file can be exported directly to a stream. The same concept applies for the Archive Device.
Comments
Which version of ReportBuilder are you using? Starting with RB 9.01 each
file device descends from the TppStreamDevice. This allows you to define
the OutputStream property of each device and generate directly to that
stream. Take a look at Demo 109 in the \RBuilder\Demos\1. Reports...
directory (dm0109.pas) for an example of how a PDF file can be exported
directly to a stream. The same concept applies for the Archive Device.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com