访问2013 Makro [英] Access 2013 Makro

查看:42
本文介绍了访问2013 Makro的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好


我使用Access打印报告。因此我使用Makro。
例如在命令行上
:  domyprint.MdB / XMakro1


Makro1启动并进行打印  一切正常,除了打印时来自Access的弹出窗口。我尝试了     Application.Echo False        DoCmd.SetWarnings(False)    不要
工作。


我希望Access能够在没有任何弹出消息的情况下完成工作。  

DoCmd.OpenReport" LSekg",acViewPreview 

Reports!lsekg.Printer = Application.Printers(cDrupdf)  'cDrupdf = 的名称打印机,LSekg  reportname

DoCmd.PrintOut              DoCmd.Close acReport,"LSekg",acSaveNo                                                                                      
任何想法如何解决此问题            Bernd Reinhardt

解决方案


这是讨论微软问题和反馈的论坛Office,我会将您的问题转移到MSDN论坛进行访问


http://social.msdn.microsoft.com/Forums/en-US/home?forum=accessdev&filter=alltypes&sort=lastpostdesc


我们建议适当发布的原因是您将获得最合格的受访者群体,而定期阅读论坛的其他合作伙伴可以分享他们的知识或从您与我们的互动中学习。感谢您的理解。


George Zhao

TechNet社区支持



Hi

I use Access for printing reports. Therefor I use the Makro.
for example on command line:  domyprint.MdB /XMakro1

Makro1 starts and do the printing   All works fine except the popup from Access while printing. I tried    Application.Echo False        DoCmd.SetWarnings (False)     don't work.

I want Access to do the Job without any popup message.  
DoCmd.OpenReport "LSekg", acViewPreview 
Reports!lsekg.Printer = Application.Printers(cDrupdf)  ' cDrupdf = Name of the  Printer, LSekg reportname
DoCmd.PrintOut              DoCmd.Close acReport, "LSekg", acSaveNo                                                                                    Any Idea how to solve this Regards            Bernd Reinhardt

解决方案

Hi,

This is the forum to discuss questions and feedback for Microsoft Office, I'll move your question to the MSDN forum for Access

http://social.msdn.microsoft.com/Forums/en-US/home?forum=accessdev&filter=alltypes&sort=lastpostdesc

The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.

George Zhao
TechNet Community Support


这篇关于访问2013 Makro的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆