ms-access - 如何在警告消息框中自动选择是 [英] ms-access - how to automatically select yes in warning message boxes
本文介绍了ms-access - 如何在警告消息框中自动选择是的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在 ms-access 中,我正在运行一个运行多个查询的宏,在执行查询期间会出现一个消息框
in ms-access i am running a macro that runs several queries, during the execution of a query a message box appears
您将要运行更新……您确定要运行此查询吗?"
"you are about to run an update.......... are you sure you want to run this query ? "
我如何自动选择所有此类情况,以便宏在没有人工干预的情况下运行.
how can i automatically select for all such cases so that macro runs without human intervention.
推荐答案
您可以像这样暂时关闭警告:
You can turn off temporary the warnings like this:
DoCmd.SetWarnings = False
DoCmd.RunSQL ...
DoCmd.SetWarnings = True
这篇关于ms-access - 如何在警告消息框中自动选择是的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文