When templates are loaded in RB 11, they are automatically converted. The time it takes to perform this task is usually minimal and cannot be noticed. If you would like to convert all your templates anyway, you could perhaps write a simple utility that loads each template into a report and re-saves them back to file or database.
Nico Cizik (Digital Metaphors) wrote: Ok, discovered what the problem is. In the templates, they use TppDBTeeChart. I guess that I need to change it to TppDPTeechart. However, the line series DataSource now wants a pipeline instead of a TQuery descendant. That's going to be hard to do.
It is still possible to install and use the older TppDBChart component in the current version. The DBChart is just no longer automatically installed with ReportBuilder.
You will need to open the rbTDBC11X.dpk file located inside your \RBuilder\Source\ directory and build and install it into the IDE to have access to the component at designtime. The templates should load correctly at runtime if ppChrtDB.pas is in your library path.
Ok, that'll work. However, I've also realized that some of the templates that I'm trying to load, don't have teecharts in them, it just gives and "Invalid Template Format" error.
Were these reports using any add-on components? Does the error give any more information? Have you tried loading them at runtime? If possible, please save one of the templates with the issue in ASCII format and send it to us in .zip format and I'll take a look at it. Send the template to support@digital-metaphors.com.
Comments
When templates are loaded in RB 11, they are automatically converted. The
time it takes to perform this task is usually minimal and cannot be noticed.
If you would like to convert all your templates anyway, you could perhaps
write a simple utility that loads each template into a report and re-saves
them back to file or database.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I've been around since version 2.
Edward Dressel
Team DM
When I try to open load the template I get an "Invalid Template Format"
exception
When trying to load templates from 7.02, I get Invalid Template Format
Ok, discovered what the problem is. In the templates, they use
TppDBTeeChart. I guess that I need to change it to TppDPTeechart.
However, the line series DataSource now wants a pipeline instead of a
TQuery descendant. That's going to be hard to do.
It is still possible to install and use the older TppDBChart component in
the current version. The DBChart is just no longer automatically installed
with ReportBuilder.
You will need to open the rbTDBC11X.dpk file located inside your
\RBuilder\Source\ directory and build and install it into the IDE to have
access to the component at designtime. The templates should load correctly
at runtime if ppChrtDB.pas is in your library path.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
that I'm trying to load, don't have teecharts in them, it just gives and
"Invalid Template Format" error.
Were these reports using any add-on components? Does the error give any
more information? Have you tried loading them at runtime? If possible,
please save one of the templates with the issue in ASCII format and send it
to us in .zip format and I'll take a look at it. Send the template to
support@digital-metaphors.com.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com