Access 2010仅限组合框显示最后一条记录 [英] Access 2010 Combo Box only Displays last record

查看:100
本文介绍了Access 2010仅限组合框显示最后一条记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在将Access 2010与现有数据库一起使用。突然,现有记录表单中的单个组合框下拉将只访问最后一个记录单击的子菜单,而不是显示与该框相关的完整下拉选项。

We are using Access 2010 with an existing DB. Suddenly a single Combo Box drop down in existing record form will only access the sub menu for the last record clicked rather than showing the full drop down selection associated with the box.

如果我们退出从表单重新开始,重置下拉框,您可以为该记录选择适当的选项。 但是,如果我们选择另一个记录来修改或添加新记录,则唯一的下拉列表可用最后一个记录。

If we exit the form and start again, the drop down box is reset and you may select the appropriate options for that record.  However if we select another record to modify or add a new record, the only drop down list available the last one selected.

如果我们选择添加新记录,则下拉列表为空白。

If we choose to add a new record the drop down is blank.

它发生在数据库的多个存档版本以及不同计算机上的不同用户ID上。

It is happening on multiple archived versions of the database as well as with different user ids on different machines.

您可以提供的任何帮助都是非常感谢。

Any help you could provide would be greatly appreciated.

推荐答案

您好OliveJuice01,

​Hi OliveJuice01,

>>如果我们退出表单并重新开始,则会重置下拉框,您可以为该记录选择适当的选项。 但是,如果我们选择另一条记录来修改或添加新记录,则唯一的下拉列表可用最后一个。

>> If we exit the form and start again, the drop down box is reset and you may select the appropriate options for that record.  However if we select another record to modify or add a new record, the only drop down list available the last one selected.

我怀疑你在组合框的数据库中添加了一个过滤器您选择另一条记录或添加新记录。我建议你检查如何绑定组合框的数据源以及你设置的组合框的属性。

I suspect that you add a filter to the datasouce of the combobox when you select another record or add new record. I would recommend you to check how you bind the datasource of the combobox and the property of the combobox you set.

如果你可以分享一个简单的演示来重现你的问题会很有帮助通过OneDrive。

It would be helpful if you could share us a simple demo to reproduce your issue through OneDrive.

最好的问候,

Edward


这篇关于Access 2010仅限组合框显示最后一条记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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