Change report in preview window
Hi,
I'm using Delphi 5 and Report Builder 6
I have a customized preview form, registered with ppRegisterForm().
I have an ArchiveReader on my main form to open a report from a .raf file,
and it opens OK in the Preview.
When I open a second report from file, (from the Preview form this time,
using a second Archive Reader), it opens in a new Preview form. How can I
open it in the existing form, replacing the first report?
John
I'm using Delphi 5 and Report Builder 6
I have a customized preview form, registered with ppRegisterForm().
I have an ArchiveReader on my main form to open a report from a .raf file,
and it opens OK in the Preview.
When I open a second report from file, (from the Preview form this time,
using a second Archive Reader), it opens in a new Preview form. How can I
open it in the existing form, replacing the first report?
John
This discussion has been closed.
Comments
- Calling the Report/ArchiveReader Print method will result in a preview
form being created and shown.
- The Report/ArchiveReader PrintToDevices method can be used to render a
report to connected devices.
myViewer.Report := myArchiveReader;
myArchiveReader.PrintToDevices;
- Have not tried to do what you describe, but my first thought would be to
use only one ArchiveReader.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com