错误“命令或操作'SaveRecord'现在不可用” [英] error "The command or action 'SaveRecord' isn't available now"

查看:1488
本文介绍了错误“命令或操作'SaveRecord'现在不可用”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将Acc97转换为Acc2003并得到此错误命令或操作

''SaveRecord''现在不可用当我试图打开一个表单添加

信息表单时,其中有保存按钮。我检查了参考在工具中

参见DAO 3.6对象库设置,它是对的。

如何解决此错误?

谢谢。

I converted Acc97 to Acc2003 and got this error "The command or action
''SaveRecord'' isn''t available now" when i tried to open one form"Add
Info form", which has Save button. I checked "reference" in Tool to
see DAO 3.6 object library setting, and it was right.
How can i resolve this error?
Thanks.

推荐答案


我将Acc97转换为Acc2003并得到此错误命令或行动

''SaveRecord''现在不可用当我试图打开一个表单添加

信息表单时,其中有保存按钮。我检查了参考在工具中

参见DAO 3.6对象库设置,它是对的。

如何解决此错误?

谢谢。
I converted Acc97 to Acc2003 and got this error "The command or action
''SaveRecord'' isn''t available now" when i tried to open one form"Add
Info form", which has Save button. I checked "reference" in Tool to
see DAO 3.6 object library setting, and it was right.
How can i resolve this error?
Thanks.



你在保存记录按钮上使用了什么代码。

What code exactly are you using on the save record button.



您在保存记录按钮上使用了什么代码。
What code exactly are you using on the save record button.



Clickevent和commandbutton - 保存按钮


哪里可以在代码中添加这一行?

如果Me.Dirty然后RunCommand acCmdSaveRecord

Clickevent and commandbutton - Save button

where can i add this line in the code?
If Me.Dirty Then RunCommand acCmdSaveRecord

展开 | 选择 | Wrap | 行号



Clickevent和命令按钮 - 保存按钮


哪里可以在代码中添加此行?

如果Me.Dirty然后RunCommand acCmdSaveRecord
Clickevent and commandbutton - Save button

where can i add this line in the code?
If Me.Dirty Then RunCommand acCmdSaveRecord



我不确定你的意思。您提供的代码使用记录集来保存数据。如果对表单进行了任何更改,上面的代码行将保存记录。但是,这会自动发生在绑定的表格上。


Mary

I''m not sure what you mean. The code you have given uses recordsets to save data. The line of code above would save a record if any changes had been made on a form. However, this would happen automatically on a bound form.

Mary


这篇关于错误“命令或操作'SaveRecord'现在不可用”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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