File Name in PDF export via e-mail
Sorry for the english. How can I include a name for the file that is being exported by e-mail? It is automatically generated name "fr" followed by some characters and numbers. The code I'm using is low.
frxMailExport1.Address:='abcdefg@earth.xyz';
frxMailExport1.ExportFilter:=frxPDFExport1;
frxReport1.PrepareReport();
frxReport1.Export(frxMailExport1);
frxMailExport1.Address:='abcdefg@earth.xyz';
frxMailExport1.ExportFilter:=frxPDFExport1;
frxReport1.PrepareReport();
frxReport1.Export(frxMailExport1);
Comments
I found the solution. Missed the line below. Thanks anyway.
? ? ? ? frxReport1.FileName: = 'Test';