PDF filename send via email from PrintDialog

SeDSeD
edited 10:32PM in FastReport 4.0
I can't change default file name of PDF attachment sent with email.
When I select Export and option to send mail instead of Print from Print Dialog I want to set file name of PDF attachment depending on any my variable.
frxReport.FileName := 'MyFilename'
not works.

Comments

  • MrBluesMrBlues Germany
    edited 10:32PM
    Hallo,

    do not set the filename of the report. You have to set it to the PDF-Export object : frxPDFExport.Filename

Leave a Comment