有没有像“主错误陷阱”那样的东西。存在于A97? [英] Does anything like a "master error trap" exist in A97?

查看:52
本文介绍了有没有像“主错误陷阱”那样的东西。存在于A97?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在想,在全局模块(标准程序)中可能错误捕获代码可能是
,而在一个主控模块中可能是
< b $ b" OnError"声明可以设定。有什么类似的这个

用于A97的VBA吗?

I''m thinking that maybe error trapping code could be
in a global module (standard procedure) and a Master
"OnError" statement could be set. Is anything like this
in use with VBA for A97?

推荐答案

没有。


-

Allen Browne - 微软MVP。西澳大利亚州珀斯。

访问用户提示 - http:// allenbrowne.com/tips.html

回复群组,而不是mvps dot org的allenbrowne。


" MLH" < CR ** @ NorthState.net>在消息中写道

news:jj ******************************** @ 4ax.com ...
No.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"MLH" <CR**@NorthState.net> wrote in message
news:jj********************************@4ax.com...
我在想,可能错误捕获代码可能是在全局模块(标准程序)和主控
OnError中。声明可以设定。有什么类似的这个与VBA for A97一起使用?
I''m thinking that maybe error trapping code could be
in a global module (standard procedure) and a Master
"OnError" statement could be set. Is anything like this
in use with VBA for A97?



错误处理代码可以在一般模块中。但是你必须在每一个程序中包含

On Error语句,这可能有一天导致运行

时间错误。在每天的发言中,这是'每个程序。


Allen Browne写道:
Error handling code can be in a general module. But you have to include
the On Error statement in every procedure that may some day cause a run
time error. In daily speak, that''s every procedure.

Allen Browne wrote:
No。


< br $> b $ b -

Bas Cost Budde,荷兰
http://www.heuveltop.nl/BasCB/msac_index.html



--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html


太糟糕了。好吧,也许它会很困难。


xxxxxxxxxxxxxxxxxxxxxxxx
Too bad. Well, maybe it would be riddled
with difficulties.
xxxxxxxxxxxxxxxxxxxxxxxx
No。






这篇关于有没有像“主错误陷阱”那样的东西。存在于A97?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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