Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

RB file support?

edited September 2002 in General

I am currently analyzing various report engines. I am currently using a
report engine that allows me to save a completed report as a file and then
later reload it into a "viewer" program. Unfortunately it is not thread safe
and I am having problems using it in an ISAPI.

Will RB allow you to create multipage reports, save them to a single file
and then reload them without having to regenerate the report? (again, PDF is
not an option).

TIA

Mike

Comments

  • edited September 2002
    Yes. See example 151 in RBuilder\Demos\1. Reports - this shows the
    ArchiveReader in action.

    To create a report archive, simply:

    uses
    ppTypes;

    ppReport1.AllowPrintToArchive := True;
    ppReport1.ArchiveFileName := 'c:\test.raf';
    ppReport1.DeviceType := dtArchive;
    ppReport1.ShowPrintDialog := False;
    ppReport1.Print;

    That's it...

    --
    Cheers,

    Tom Ollar
    Digital Metaphors Corporation
  • edited September 2002
    And now in RB 7: (as stated in their e-mail)

    2. Thread safe DADE, RAP and Report Engine

    In order to make the Server Edition possible, the data processing engine

    (DADE), Object Pascal interpreter (RAP) and the report engine were all made

    thread-safe. This means that you can now count on thread safety when

    pursuing options such as background processing of print jobs, etc.
This discussion has been closed.