REPORT.SAVEASPDF(206, 'C:\temp\'+STRSUBSTNO('Invoice No. %1.pdf',"No.")+'.pdf', SalesInvHeader); SalesInvHeader.SETRANGE("Posting Description",'Order ' + "No."); SalesInvHeader.FIND('-'); Cust.SETRANGE("No.",SalesInvHeader."Sell-to Customer No."); Cust.FIND('-'); emailtoaddr := Cust."E-Mail"; Mail.NewMessage(emailtoaddr,emailccaddr,STRSUBSTNO('Invoice No. %1',"No."), 'Attached please find invoice ' + "No." +'.','\\'+Hostname+'\C$\temp\'+STRSUBSTNO('Invoice No. %1.pdf',"No.")+'.pdf',TRUE)
Answers
How about
Hyperlink('your path&filename.pdf');
http://www.BiloBeauty.com
http://www.autismspeaks.org
For future reader's benefit I used:
which worked with the code above. It opened right up into Adobe PDF.