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

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.