Hello!
I must rename some Pipelines and UserName in our App (see below). Is there a way to convert the customers reports to the new pipename and UserName?
pipeData: TppDBPipeline;
pipeData.UserName := 'DataOld';
pipeData.Name := 'pipeDataNew';
pipeData.UserName := 'DataNew';
Comments
There are a couple options here:
1. After loading a template, run a conversion routine that alters the report's datapipeline property and then loops through each band (report object loop) and alters the DataPipeline property for all data-aware components.
2. Create a simple utility that loads each report template as text and alters the pipeline name as needed. Since you know the name of the old pipeline, this should be a simple "find and replace" operation.
http://rbwiki.digital-metaphors.com/end-user/fundamentals-end-user/how-to-edit-templates-as-text/
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com