Assigning DataPipelines to Report
Hi!
I create a report in the constructor of a tread: Report := TppReport.Create
(nil);. I create two TppDBPipelines there in the same way. I only have the
problem that the report can't find the pipelines - I suppose that it tries
to itereate through the components of its parent but because the parent is
nil that doesn't work - how can I assign datalines to a report (e.g.
"Report.AssignPipeline (MyDataPipeline1);")?
Helge.
I create a report in the constructor of a tread: Report := TppReport.Create
(nil);. I create two TppDBPipelines there in the same way. I only have the
problem that the report can't find the pipelines - I suppose that it tries
to itereate through the components of its parent but because the parent is
nil that doesn't work - how can I assign datalines to a report (e.g.
"Report.AssignPipeline (MyDataPipeline1);")?
Helge.
This discussion has been closed.
Comments
see the section 'Code Based' in tech-tips. The developer's Guide has a
chapter on code based reports too.
regards,
Chris Ueberall;
TppReport.Create
I suppose you mean the newsgroup, don't you? I can only see 2 posts there -
I guess my Outlook Express (sorry, don't have anything better yet) is
producing trash once again :-(
Could you mail me the article?
Helge.