I have problems when i send the pdf files by email customer see in correct format.
this is my code i know is correct.
if mReport <> nil then
Dim fName As String
fName="InvOrder"+Trim(CompCity)+"_"+Orderid+".pdf"
dim f as folderItem=GetFolderItem( "C:\GasRb\"+fName)
mReport.PrintToDisk( f, EVReportPrintType.kToPDF)
SendInfoEmails(vSalePersonName,"**PDF Reports**",CompName,f.AbsolutePath)
end if