在Access 2007中编辑组合框

时间:2015-06-25 17:20:07

标签: combobox ms-access-2007

我的表单上有一个需要编辑的组合框。它当前由一个查询填充,该查询根据另一个组合框中的值提供一组值。 "限制列表"设置为"否"。 "允许值列表编辑"设置为"是"。有时,用户希望能够将项目添加到此框中。该值不需要永久存储在表中。

问题是,编辑功能是否被禁用,因为我有用于填充它的查询类型,即依赖于另一个组合框值?启用编辑有哪些选项?

提前致谢

1 个答案:

答案 0 :(得分:0)

I should have checked this out properly. I was expecting to see something at the bottom of other values similar to what happens when you have a value list. That doesn't happen.

I was able to type in directly into the Combo box and the value did get added to my table on executing the code to add a record. The "Limit to List" should obviously be set to "No". When that is set to "Yes", you get an error message about selecting only the available values.