Report format (binary or ASCII)
Hi!
One small question: How to recognize when report is saved in Database in
ftBinary or ftASCII format.
I have mixed situation and want to reformat all the reports to ftASCII!
THX!
The difference between theory and practice is that in theory there is no
difference between theory and practice, but in practice there is....
One small question: How to recognize when report is saved in Database in
ftBinary or ftASCII format.
I have mixed situation and want to reformat all the reports to ftASCII!
THX!
The difference between theory and practice is that in theory there is no
difference between theory and practice, but in practice there is....
This discussion has been closed.
Comments
Try using the Report.Template.OnLoadStart event. This event passes the
Stream as a parameter. There are two private Report.Template methods that
you can copy to check the format. Open ppTmplat.pas and search for the
following methods:
function IsValidASCIISignature(aStream: TStream): Boolean;
function IsValidBinarySignature(aStream: TStream): Boolean;
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com