只需点击一下,即可将报告以PDF格式发送 [英] Email a report as PDF by one click
问题描述
在我们公司,收银员在一天结束时准备一份报告,显示收到的支票,收到的现金以及与当天相关的其他交易。我希望在收银台
打印最终报告时,将此报告的副本以PDF格式发送给我们的经理。我喜欢这个过程是自动的,当用户点击最终报告打印命令按钮时。我怎么能这样做?
Karim Vaziri问候,
看看你的代码使用SendObject方法。例如:
DoCmd.SendObject acSendReport," ReportName",acFormatPDF,_
" address @ company .com",," Subject"," Message Body"
希望有帮助......
In our company the cashier in the end of day prepare a report that show the received checks, cash received and other transactions related to current day. I want to email a copy of this report as PDF to our manager when the cashier print the final report. I like that this process be automatic and when the user click the final report print command button. How can I do that?
Karim Vaziri Regards,
Hi,
Have a look at using the SendObject method to your code. For example:
DoCmd.SendObject acSendReport, "ReportName", acFormatPDF, _
"address@company.com", , "Subject", "Message Body"
Hope it helps...
这篇关于只需点击一下,即可将报告以PDF格式发送的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!