Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Convert Templates

edited March 2009 in General
Hello,
Is there a utility to convert templates from RB 7.02 to RB 11?

Comments

  • edited March 2009
    Hi Phillip,

    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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2009
    FWIW, I've never had a problem loading old versions of RB into new versions.
    I've been around since version 2.

    Edward Dressel
    Team DM
  • edited March 2009
    Nico Cizik (Digital Metaphors) wrote:
    When I try to open load the template I get an "Invalid Template Format"
    exception
  • edited March 2009
    Edward Dressel [Team DM] wrote:
    When trying to load templates from 7.02, I get Invalid Template Format
  • edited March 2009
    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.
  • edited March 2009
    Hi Phillip,

    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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2009
    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.

  • edited March 2009
    Hi Phillip,

    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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.