Batch export without preview

edited December 2016 in FastReport VCL 5
Is there a way to take several reports without showing the dialog at all at the end? I'm aware of turning off clearing of previous reports so that they accumulate:

frxReport1.PrepareReport(False);

But at the end you call this:

frxReport1.Export(frxPDFExport1);

I have about 30 reports linked by a Delphi PageProducer component that generates an index.html. I don't want one long PDF and I don't want the dialog to come up each time a sub-report is being generated. I just want the file to be saved by the FileName property in the export component.

Comments

  • edited 4:15AM
    Never mind. I found the answer myself. The answer is to set the PDFExport dialog to not show.

    frxPDFExport.ShowDialog := False;

Leave a Comment