FastReport: export

Fastreport for delphi.

Can someone give me a step by step example how to export a report to pdf, xls etc?
dinko1Asked:
Who is Participating?
 
OrionizerCommented:
Here's what I've used:

Add an frxReport object and an frxPDFExport object and then:

      frxReportMain.LoadFromFile('ReportName.fr3');
      frxPDFExportMain.FileName:='ReportName.PDF';
      frxReportMain.ShowReport(True);
          if frxReportMain.Export(frxPDFExportMain) then
0
 
Ephraim WangoyaCommented:
try this
frxReport.PrepareReport;

PDFExport := TfrxPDFExport.Create(nil);
try
  PDFExport.ShowDialog := False;
  PDFExport.ShowProgress := False;
  PDFExport.OverwritePrompt := False;
  PDFExport.FileName := 'c:\report.pdf';

  frxReport.Export(PDFExport);
finally
  FreeAndNil(PDFExport);
end;

Open in new window

0
 
dinko1Author Commented:
ok delete it
0
 
mlmccCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.