MS Access 中的可编辑、可追加的 ComboBox(?) [英] Editable, Appendable ComboBox(?) in MS Access

查看:29
本文介绍了MS Access 中的可编辑、可追加的 ComboBox(?)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的目标:

有一些下拉选项的表单域(在 MS Access 中).如果所需的值不在查找表中,用户应该能够通过键入来添加它.

A form field (in MS Access) that is has some drop down choices. If the wanted value isn't in the lookup table, the user should be able to add it by typing it in.

假设查找表有以下行:A、B、C、D.用户想要尚不存在的E".理想情况下,他们会覆盖"并输入E",然后将其添加到查找表中以供将来输入.

Let's suppose the lookup table has rows: A, B, C, D. The user wants "E" which doesn't exist yet. Ideally they'd "override" and type in "E", which would then be added to the lookup table for future entries.

我的 google-fu 在这方面失败了.有没有我应该使用的术语?有哪些好的做法?(到目前为止,我一直在使用组合框及其向导).

My google-fu has failed on this. Is there a term for this that I should be using? What are some good approaches? (I've been playing with combo-box and its wizard so far).

感谢您的任何建议!

推荐答案

啊哈,在这里解决了我自己的问题:

Aha, solved my own here:

http://allenbrowne.com/ser-27-01.html

访问 2007

在 Access 中使用新属性2007 年:

To use the new properties in Access 2007:

  1. 在设计视图中打开您的表单.
  2. 右键单击组合,然后选择属性.
  3. 在属性框的数据选项卡上,设置允许值列表编辑为是,并列出项目编辑表单到要使用的表单的名称用于将项目添加到列表中.

当您使用此表格时,您可以现在右键单击组合,然后选择编辑列表项.

When you are using this form, you can now right-click the combo, and choose Edit List Items.

还有针对旧版 Access 的建议.

There is also advice for older versions of Access.

这篇关于MS Access 中的可编辑、可追加的 ComboBox(?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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