QUICKREPORT SAVE AS

When you save a file with TQRPrinter.Save, the resulting file is a .QRP file which can only be opened in a QuickReport Preview screen. You can export to other file formats though, using a TQRExportFilter, e.g.

(QR2:)

QuickRep1.QRPrinter.ExportToFilter(TQRasciiExportFilter.Create(FileName));
QuickRep1.QRPrinter.ExportToFilter(TQRcsvExportFilter.Create(FileName));
QuickRep1.QRPrinter.ExportToFilter(TQRHtmlExportFilter.Create(FileName));

(QR3:)

QuickRep1.QRPrinter.ExportToFilter(TQRasciiExportFilter.Create(FileName));
QuickRep1.QRPrinter.ExportToFilter(TQRCommaSeparatedFilter.Create(FileName));
QuickRep1.QRPrinter.ExportToFilter(TQRhtmlDocumentFilter.Create(FileName));

Published At
Categories with Web编程
Tagged with
comments powered by Disqus