1

在我的 MS Access 应用程序中,我有表格和表格客户,其中包含数字字段Status1- 表示Active2- Inactive3- N/A

在表单上,​​我需要有带有值的组合框ActiveInactiveNA,当用户选择任何值时123值应该保存到Status字段中。

当我尝试将[Row Source Type]as[Value List][Row Source]as设置为["Active";1;"Inactive";2;"NA";3],[Bound Column] =2时,组合框会向我显示不需要的列,其中包含值1, 2,3

当我设置时[Bound Column] = 1,它会尝试存储在表中["Active", "Inactive", "NA"]而不是1, 2,3

谁知道如何实施,我做错了什么?

4

1 回答 1

3

当您使用 [Value List] 作为 [Row Source Type] 时,您必须手动将 ColumnCount 设置为正确的值。

ColumnCount = 2

同时隐藏 ID 列

ColumnsWidth=";0"
于 2013-09-24T20:00:13.670 回答