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
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
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 :-)