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

Report Templates written in RB7

edited August 2004 in General
We have reports written in RB7 that when we save them,
the new properties are being added i.e. OutlineSettings
& TextSearchSettings in the templates. The trouble is,
once we distribute these reports to our users, who are still
using the old version of our app, written D6/RB6, they are
getting some errors because of these unrecognisedd new
properties. Is there a way to trap these errors ? What about
having some control as to what goes in the template file ?
I've fiddle with Template.OnSaveStart event but I can't
seem to change the Stream.

We don't want to maintain separate reports for RB6 & RB7.


thanks for your help

Comments

  • edited August 2004
    Hello,

    The report templates are not forward compatable. Though it may be possible
    to load and run new report templates on an old version of ReportBuilder, it
    is definitely not a good idea as there have been many changes made and bugs
    fixed that may not syncronize correctly when the new template is loaded. If
    you would like to take a look at the source that handles these messages, see
    the TppTemplate.LoadFromSource and TppTemplate.LoadError routines located in
    the ppTmplat.pas file.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2004
    tnx nic, i think i know what to do now.


This discussion has been closed.