Sendemail PDF Report Name
Hi,
I am using the "sendemail" procedure.
Everything works fine except I can't figure out how to set the Report
Name of the PDF attachment to anything except "Report.pdf"
I want to change this to something like "TVN Order Number XXX' so I want
to hard code before calling "Sendemail" like as follows
REp_Order.????.text :='TVN Order Number :
='+T_Ord_Head.Fieldbyname('Ord_No').asstring;
Trust this makes sense
Mike
I am using the "sendemail" procedure.
Everything works fine except I can't figure out how to set the Report
Name of the PDF attachment to anything except "Report.pdf"
I want to change this to something like "TVN Order Number XXX' so I want
to hard code before calling "Sendemail" like as follows
REp_Order.????.text :='TVN Order Number :
='+T_Ord_Head.Fieldbyname('Ord_No').asstring;
Trust this makes sense
Mike
This discussion has been closed.
Comments
You can use the EmailSettings.FileName property to control the attached
report's name.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I tried that ... Returns "Report.pdf".
Maybe I am doing something wrong.
Are you able to test and confirm ?
Thanks.
Mike
In my testing this works correctly. Which version of ReportBuilder are
you using? Are you loading templates? If so, remember that you need to
set any properties after the template is loaded or the Template itself
will overwrite your settings.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com