Главная страница | назад





Article #17210: Saving a QuickReport custom preview to text

 Question and Answer Database

FAQ2210D.txt   Saving a QuickReport custom preview to text
Category   :Quick Reports
Platform    :All
Product    :Delphi 3.x  

Question:
How do I save a QuickReport custom preview to text? 

Answer:
Add QREXTRA to your uses clause and the following code to your 
"Save button" in your custom preview: 

procedure TfrmPreview.ToolButton3Click(Sender: TObject);
begin 
  frmReport.QuickRep1.ExportToFilter
       (TQRAsciiExportFilter.Create('c:\report.txt'));
end;

7/16/98 4:31:28 PM
 

Last Modified: 01-SEP-99