export pdf corrupt
Delphi 10.4 Fast reports FMX2 (not shown in the category list )
Hi just purchased this and added a frxPDFExport and used
DataModule4.frxReportInvoice.Export(DataModule4.frxPDFExport1) ;
When I export and try to view I get damaged PDF ( Windows 10 & Mac Catalina & Mac Bigger )
I have tried toggling the various options but no luck
Cheers
Steve W
Comments
I have found if I use this first
DataModule4.frxReportInvoice.ShowReport;
It works. Do I have to produce the report before exporting it ?
Cheers
Steve W
Yes, you need to prepare report
DataModule4.frxReportInvoice.PrepareReport;
first