I would like someone to verify this please....
I have found an issue that has been around for quite some time and not even certain if it was reported as a bug or not previously. I do have a bit more information on it than prior old threads I found regarding the issue.
Zipping an Alpha created PDF will not happen. Any other pdf created outside of Alpha, whether v9 through today's current v10.5 builds 4091 / 3658 does work.....it will be included in a zip file. It also makes no difference what zip method is used--from the zip within email_send(), file.zip, zip_files, and another one I cannot recall---all will not zip when the pdf has been created via Alpha (from saving a report as pdf, using report.saveas(), report.archive(),...).
Attached find 3 files within the zip....a csv, a pdf created outside of the above versions (but distributed by Alpha!), and a pdf created via Alpha. Or use your own to make absolutely certain.
Use one of the following scripts by replacing the paths of where you save the files, where you want the zip to be saved, and/or your email address.
Thanks!
I have found an issue that has been around for quite some time and not even certain if it was reported as a bug or not previously. I do have a bit more information on it than prior old threads I found regarding the issue.
Zipping an Alpha created PDF will not happen. Any other pdf created outside of Alpha, whether v9 through today's current v10.5 builds 4091 / 3658 does work.....it will be included in a zip file. It also makes no difference what zip method is used--from the zip within email_send(), file.zip, zip_files, and another one I cannot recall---all will not zip when the pdf has been created via Alpha (from saving a report as pdf, using report.saveas(), report.archive(),...).
Attached find 3 files within the zip....a csv, a pdf created outside of the above versions (but distributed by Alpha!), and a pdf created via Alpha. Or use your own to make absolutely certain.
Use one of the following scripts by replacing the paths of where you save the files, where you want the zip to be saved, and/or your email address.
Code:
rpts=<<%A% C:\Estimate.csv C:\Customer.pdf C:\QB_Time_by_Job_Detail.pdf %A% msg="TESTING" rst=Email_send("your_email_address","Test Report for PDF",msg,rpts,"","",.f.,"","","",.t.,.t.) if rst=0 msgbox("Not Sent") else msgbox("Sent") end if '==============....Or use....========================= file.zip("C:\Customer_Z.zip",rpts)
Thanks!
Comment