无法解释的Access出口 [英] Unexplained Exit of Access
本文介绍了无法解释的Access出口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个表单,通过调用表单的close来处理Shift-Esc(参见下面的第6行)。
展开 | < span class =codeLinkonclick =selectAll(this);>选择 | 换行 | 行号
解决方案
不知道该告诉你什么,Ade,它的作品就像我所宣传的一样!我只能通过在 Form_Close 事件中添加 DoCmd.Quit 来复制行为。
对不起!
Linq ; 0)>
阿德里安。
这真的很奇怪。我只有几个猜测。
- 您是否尝试将表单名称明确地作为参数传递给DoCmd.Close方法?
- OnClose事件处理程序中是否有任何代码?
- 在步骤模式下,Access在执行DoCmd.Close后会立即崩溃吗?
- 如果禁用错误捕获会发生什么?
问候,
Fish
我有一个表格,通过调用表格的关闭来处理Shift-Esc(见下面第6行。
展开 | 选择 | Wrap | < span class =codeLinkonclick =LineNumbers(this);>行号
I have form which handles Shift-Esc by calling a close of the form (See line #6 below).
Expand|Select|Wrap|Line Numbers解决方案Don''t know what to tell you, Ade, it works as advertised for me! I can only duplicate the behavior by putting DoCmd.Quit in the form''s Form_Close event.
Sorry!
Linq ;0)>
Hi, Adrian.
It is really weird. I have only a couple of guesses.
- did you try to explicitely pass form name as argument to DoCmd.Close method?
- is there any code in OnClose event handler?
- in step mode, does Access crash immediately after executing DoCmd.Close?
- what will happen if you disable error trapping?
Regards,
Fish
I have form which handles Shift-Esc by calling a close of the form (See line #6 below).
Expand|Select|Wrap|Line Numbers
这篇关于无法解释的Access出口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文登录 关闭
扫码关注1秒登录发送“验证码”获取 | 15天全站免登陆