打印本文 打印本文 关闭窗口 关闭窗口
QUICKREPORT SAVE AS
作者:武汉SEO闵涛  文章来源:敏韬网  点击数1009  更新时间:2009/4/23 18:31:36  文章录入:mintao  责任编辑:mintao
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));

打印本文 打印本文 关闭窗口 关闭窗口