Topic: Naming a report pdf file

Hello,
The report in my application is displayed as a pdf file and is assigned a temporary name if emailed or printed. Is there any way for me to have the software give this pdf file a meaningful name instead of the temporary name. The database records contain a auto-number field so it would suit to be able to name the pdf something like "Orderxxxxx" where xxxxx is the auto-number from the record.
Thanks in advance for any help
Regards,
David

Re: Naming a report pdf file

Hello.


Please download latest beta version
https://www.dropbox.com/s/53bhjcbbu6jr3 … a.zip?dl=0


Now you can define name of report file using OnClick event

procedure Form1_bReport_OnClick (Sender: TObject; var Cancel: boolean);
begin
    Form1.bReport.dbReportResultFile := 'yourfilename';
end;
Dmitry.