组合框向导:数据库字段

在组合框中,您可以在一个数据库字段中保存一个字段的数值,也可以在表单中显示该数值。

在组合字段中输入的或从列表中选择的用户数值,可以保存到通过表单访问的数据库表格中。请注意,这些数值不能保存到其他表格中。如果不将数值存入数据库中,则只能存入表单中。这对 HTML 表单尤其有用,因为在 HTML 表单中,用户输入或选定的数值将被指定到服务器。

要访问此命令...

为生成字段,打开“控件”工具栏,单击组合框图标并拖动鼠标。在窗体中必须存在数据库连接:向导 - 第 3 页。


您是否希望把数值保存在一个数据库字段?

对于此问题,有两个选项可供选择:

是,我想在以下数据库字段中保存

Specifies whether the user's entered or selected combination field value should be saved in a database field. Several database table fields are offered which can be accessed in the current form.

控件 - 属性 对话框数据选项卡页面中,选定的字段显示为数据字段的一个条目。

列表字段

Specifies the data field where the combination field value should be saved.

否,我只想将这个数值存入表单

Specifies that the value of this combination field will not be written in the database and will only be saved in the form.