Execute Access 2007 Report and Export that Report to PDF Programmatically?

非 Y 不嫁゛ 提交于 2019-11-30 23:38:36

You should be able to automate using the DoCmd.OutputTo method. I think the PDF feature requires SP1 for A2007. Here's a simple example:

DoCmd.OutputTo acOutputReport,"rptFoo",acFormatPDF,"D:\Access\rptFoo.pdf"

Look at the MSDN page for more details: DoCmd.OutputTo Method

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!