Assign pipelines dynamically
Hello,
I create run-time reports with TppReport.Template properties. In these
reports, I can have 1, 2, 18 or more pipelines. The pipelines are
dynamically create.
My problem is : when I load my report, it loses the references on the
pipelines which are dynamically created. So, no data are loaded...
How can I load correctely my data with my dynamics pipelines ???? Thanks
I create run-time reports with TppReport.Template properties. In these
reports, I can have 1, 2, 18 or more pipelines. The pipelines are
dynamically create.
My problem is : when I load my report, it loses the references on the
pipelines which are dynamically created. So, no data are loaded...
How can I load correctely my data with my dynamics pipelines ???? Thanks
This discussion has been closed.
Comments
You could possibly use the Template events to connect your report to the
proper pipelines when it is loaded. You would want to use the OnLoadEnd
event specifically. This could however turn out to be difficult being that
you will have to create a case for each template and know ahead of time
which datapipeline is supposed to connect to it.
Another option would be to keep the data access local to the template file
by using DADE. This way you can create all your queries and tables ahead of
time or on the fly and since they are already part of the template, there
will be no reason to reference a datapipeline.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com