Check out the following example of viewing and editing a binary template stored on a database as text using the internal Delphi methods used in ReportBuilder...
thanks for the reply Nico but I'm afraid this is not exactly what I'm looking for. If I load a report template from a file written in prevous RB to latest RB, I want to know if there are any difference between the text template before and after loading in the latest RB.
Sorry, I was unaware of what you were ultimately trying to accomplish. However the example I sent may turn out to be useful. If your templates on file are in binary format you will not be able to use the latest version of ReportBuilder to convert these templates to ASCII format without RB automatically updating the template. You can do something similar to the LoadTemplate method of the example using the Delphi routine ObjectBinaryToText to convert the old templates to text. Then after making a backup copy, load it in the latest version of RB and compare the text.
Comments
Check out the following example of viewing and editing a binary template
stored on a database as text using the internal Delphi methods used in
ReportBuilder...
http://www.digital-metaphors.com/tips/EditTemplatesAsText.zip
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
send me your e-amil and you'll get free component for that!
exactly what I'm looking for. If I load a report
template from a file written in prevous RB to latest RB,
I want to know if there are any difference between the text
template before and after loading in the latest RB.
cheers
Deck
Sorry, I was unaware of what you were ultimately trying to accomplish.
However the example I sent may turn out to be useful. If your templates on
file are in binary format you will not be able to use the latest version of
ReportBuilder to convert these templates to ASCII format without RB
automatically updating the template. You can do something similar to the
LoadTemplate method of the example using the Delphi routine
ObjectBinaryToText to convert the old templates to text. Then after making
a backup copy, load it in the latest version of RB and compare the text.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com