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

Changing report when converting

edited April 2016 in General
As we are updating from 5.56 to 17.01 we have found out that we have to
do update some settings within our reports.
This changes should be done once when the report is converted.

But where is the hook/point to do this conversion?
I only found procedure TppProducer.Convert(aVersionNo: Integer);

Any ideas?

--


Hint: We altered the sources!Hint: We altered the sources!

Comments

  • edited April 2016
    Hi Carsten,


    There is no hook for the Producer.Convert, I'll add it to the requested
    features list. There is a Report.Template.OnLoadEnd event that fires when
    loading report templates from file or blob stream. The Report.VersionNo has
    already been updated by the time OnLoadEnd fires, but perhaps you can use
    another way to detect the reports need conversion.

    Another approach for converting report templates is to load into a stream,
    convert to text and write code to modify the text as needed. Then save. Here
    is an rbWiki example

    www.digital-metaphors.com/rbWiki/End-User/Fundamentals/How_To...Edit_Templates_as_Text



    Best regards,

    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited April 2016
    Hi Nard,

    is there a way to see the feature-list?

    Thanks Carsten


    Nard Moseley (Digital Metaphors) schrieb :

    --


    Hint: We altered the sources!Hint: We altered the sources!
This discussion has been closed.