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

问题描述

我试图让在MS Access 2003 SP3的一个小的形式,我使用一些功能,其他一些人做这些函数MSGBOX在里面。我想,当我跑的形式将其禁用的msgbox。是否有可能在访问禁用的msgbox?

I am trying to make a small form in MS Access 2003 SP3, I use some function that some other people made and these function has msgbox in it. I would like to disable msgbox while I am running the form. Is it possible in Access to disable msgbox?

推荐答案

我创造了我finction叫MSGBOX。好像它的工作。谢谢大家对你的帮助。

I created my finction called msgbox. Seems like its working. Thanks everyone for your help.

Public Function MsgBox(Prompt, Optional Buttons As VbMsgBoxStyle = vbOKOnly, Optional Title, Optional HelpFile, Optional Context) As VbMsgBoxResult

If myProcedureisRunning then 
    VBA.MsgBox Prompt
else
    debug.print prompt
endif
End Function

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

10-22 17:53