• 首页 首页 icon
  • 工具库 工具库 icon
    • IP查询 IP查询 icon
  • 内容库 内容库 icon
    • 快讯库 快讯库 icon
    • 精品库 精品库 icon
    • 问答库 问答库 icon
  • 更多 更多 icon
    • 服务条款 服务条款 icon

奇怪的AllowEdits行为

用户头像
it1352
帮助1

问题说明

我有一个Access 2007应用程序。 它有一个包含多个文本框对象的表单和一个复选框(它绑定的字段是/否数据类型。)。 我有代码设置,当check
框设置为true时,将整个表单的AllowEdits属性设置为false。

I have a Access 2007 application.  It has a form that contains several text box objects and a check box(Yes/No Data Type for the field it is bound to.).  I have code setup to set the AllowEdits property for the entire form to false when the check box is set to true.

当我选中该框时,有四个字段我的表单,我仍然可以编辑。 有没有人有任何想法为什么会这样。 没有与这四个字段相关的事件,即获得焦点等。

When I check the box, there are four fields on my form that I can still edit.  Does anyone have any ideas why this would be true.  There are no events associated with the four fields, i.e. got focus, etc.

正确答案

#1
尝试设置他们被锁定了。我认为允许编辑仅适用于数据库字段,但我不确定。,
Try setting them to locked instead. I think the allow edits is only for database fields, but I'm not sure.,

这篇好文章是转载于:学新通技术网

  • 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
  • 本站站名: 学新通技术网
  • 本文地址: /reply/detail/tanhcgabbh
系列文章
更多 icon
同类精品
更多 icon
继续加载