访问2013添加新记录(表单)灰色 [英] Access 2013 Add New Record (Form) Greyed Out

查看:138
本文介绍了访问2013添加新记录(表单)灰色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个在Access 2003中创建的表单,该表单在2013年丢失了功能。该表单允许通过点击表单底部导航栏上的新记录按钮来添加新记录。 botton是灰色的。我查看了表单的属性,似乎所有内容都已正确检查。是否有一个我可能会忽略的简单修复。谢谢

I have a form that was created in Access 2003 that has lost function in 2013. The form allows for new records to be added by hitting the new record button on the navigation bar at the bottom of the form. The botton is greyed out. I have looked at the properties of the form and everything appears to be correctly checked. Is there a simple fix that I may be overlooking. Thanks

推荐答案

你可能已经这样做了;然而,如果这是我的应用程序,我会开始提供所提供的信息...所以如果你愿意,再一次:),请检查以下内容:


打开表格在设计视图中。

< alt>< enter> (或任何其他方法)显示属性表


+确保表格显示在属性表下拉列表中。

+ [Event]选项卡,检查{On Load},{On Open}事件以查找将控件的(enabled)属性设置为true的任何代码错误。

((关闭机会...也检查{On Current}事件......)


++在属性下拉列表中,选择控件名称。

++ [数据]选项卡,检查{Enabled}属性是否设置为yes
You might have already done this; however, this is where I would start given the information provided if this were my application... so if you would, one more time :) , check the following:

Open the form in design view.
<alt><enter> (or any other method) to show the properties sheet

+ Make sure "Form" is shown in the properties sheet dropdown list.
+ [Event] tab, check {On Load}, {On Open} events for any code that would set the (enabled) property of the control from true to false.
((Off chance... check the {On Current} event too... ))

++ In the properties dropdown list, select the control name.
++ [Data] tab, check that {Enabled} property is set to "yes"


感谢您提供的信息,这不是解决方案。没有确定的代码在任何建议的位置强制虚假。任何其他建议将不胜感激。

@zmbd
Thanks for the information but this was not the solution. There was no identified code to force false in any of the suggested location. Any other suggestions would be appreciated.

@zmbd


您打算打开哪些代码?表单?


表单包含 AllowAddions 属性以及 RecordsetType 。这些必须与添加记录一致地设置(快照禁用添加,就像使用不可更新的 RecordSource 一样。)


另一个问题可以在打开表格时。如果使用 DataMode 参数,则可以覆盖表单的设置。
What code are you calling to open the form?

The form has an AllowAddions property as well as a RecordsetType. These must both be set consistently with adding records (Snapshot disables additions as does the use of a RecordSource that is non-updatable.)

A further problem can be when opening the form though. If the DataMode parameter is used this can override the settings of the form.


这篇关于访问2013添加新记录(表单)灰色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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