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

Loading rtm files at runtime

edited July 2006 in General
Is there a way to have one PPReport object in an application and have
that object be able to run from an arbitrarily determined rtm file?

Here's the kind of workflow that I have in mind.

User chooses from code determined list of reports, each of which maps to
an rtm file.
Application populates a data set to drive the report.
The report loads the rtm file and attaches itself to the pipeline.

The different rtm's may have different fields so the labels and data
fields would have to be created at runtime. Is this possible?

Thank you

Ken Phillips

--- posted by geoForum on http://delphi.newswhat.com

Comments

  • edited July 2006
    > User chooses from code determined list of reports, each of which maps to

    I store by in a database and users select them.


    You can do it that way or use the DADE or have the application provide the
    data.


    if the pipeline name doesn't change, and it's on the main form or in a
    datamodule



    you bet.

    Ed Dressel
    DX Squad
  • edited July 2006
    Gah, I was looking at the report object for the "LoadFromFile"
    procedure, but it was in the template object. Stupid me. Thank you for
    your help. If you're ever in Roseville California, let me know and I'll
    buy you a beer.

    -Ken

    to
    the

    Ken Phillips

    --- posted by geoForum on http://delphi.newswhat.com
This discussion has been closed.