Create PDF report file silently

Hi,

Say I have FRDataset1, MyFastReport and a PDFExport1 objects on my form.

The report is defined and everything works fine when previewing the report and exporting it to a PDF file.

However I just need to have the PDF file of the report directly and silently written. Filename is given i code and there should be no report preview or screen flashing.

How would I do that?

Thasnks for comments on this

regards

Tor

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 9:26PM
    load the report
    set any properties of the export filter
    call preparereport not showreport then via the ???TfrxReport.Export??? method
    .
    In the parameter of this method you should specify the export filter
    you want to use:

    frxreport1.export(name of exportfilter)
  • edited 9:26PM
    gordk wrote: »
    load the report
    set any properties of the export filter
    call preparereport not showreport then via the ???TfrxReport.Export??? method
    .
    In the parameter of this method you should specify the export filter
    you want to use:

    frxreport1.export(name of exportfilter)

    Thanks A LOT :-)

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.