DADE/DataPipeline Load Error...?
Hi, I've noticed that if:
- I create a Report, save it (to file or db)
- then change the SessionType on the TppDesigner & TppDataDictionary objects
- change the dade
- try to reload...
I am unable to reload the report and get and error.
Having examined the Template file I noticed that it saves the datapipeline
out of the original dade file. This could mean that when it loads into the
memory stream and applies it to TppTemplate, it will try to access the
original dade.
Is it possible to overide the DataPipeline upon loading to point to the new
dade and not to the old? The reason being is that our clients are using two
different methods to access the database and are finding that they are not
compatible.
Thanks in advance for all help.
Regards,
Nigel Huband.
- I create a Report, save it (to file or db)
- then change the SessionType on the TppDesigner & TppDataDictionary objects
- change the dade
- try to reload...
I am unable to reload the report and get and error.
Having examined the Template file I noticed that it saves the datapipeline
out of the original dade file. This could mean that when it loads into the
memory stream and applies it to TppTemplate, it will try to access the
original dade.
Is it possible to overide the DataPipeline upon loading to point to the new
dade and not to the old? The reason being is that our clients are using two
different methods to access the database and are finding that they are not
compatible.
Thanks in advance for all help.
Regards,
Nigel Huband.
This discussion has been closed.
Comments
loaded, it will try to find that database using those settings. If it can't
find it then it raises an exception. What you need to do is configure the
templates for use on one database. You can load a template and change it
without loading it into a report. Here is a demo which shows how to edit a
binary template as ascii text without using a report object to load it. You
can use this technique to alter the database settings in the template and
save it back down for your users to load for the desired database settings
where the data is that thy want to run the report over.
http://www.digital-metaphors.com/tips/ConvertBinaryTemplateToASCII.zip
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com