Preview Report
Hi
I have a report and assing the DataPipeline at run-time when the user click
a button.
So if the user mark one option, for example, i assing DataPipeline with a
TppJITPipeline component and preview on the Onclick button event . If he
mark other option i assing DataPipeline with a TppDbPipeline and preview.
So if i assing TppJITPipeline and preview, it?s work. After that if a user
select other option and click the button (when i assing a TppDbPipeline
component) my report is not show on the preview.
What can i do?
Thanks
Veri
I have a report and assing the DataPipeline at run-time when the user click
a button.
So if the user mark one option, for example, i assing DataPipeline with a
TppJITPipeline component and preview on the Onclick button event . If he
mark other option i assing DataPipeline with a TppDbPipeline and preview.
So if i assing TppJITPipeline and preview, it?s work. After that if a user
select other option and click the button (when i assing a TppDbPipeline
component) my report is not show on the preview.
What can i do?
Thanks
Veri
This discussion has been closed.
Comments
Each data aware component on a report also contains a DataPipeline property.
Simply changing the Report.Pipeline property will not change this property
for each data component. Once you change the DataPipeline property of the
report, also loop through each component in the report and properly assign
its DataPipeline property as well.
http://www.digital-metaphors.com/rbWiki/Delphi_Code/Layouts/Report_Object_Loop
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com