Loading rtm files at runtime
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
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
This discussion has been closed.
Comments
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
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