組合方塊精靈:資料庫欄位

在組合方塊中,您可以將欄位的數值儲存在資料庫欄位中,或是只顯示在表單中。

在組合欄位中輸入的或從清單中選取的使用者值,可以儲存到可在表單中存取的資料庫表格中。請注意,這些值無法儲存到其他表格中。如果這些值未儲存在資料庫中,則只能儲存在表單中。這對於 HTML 表單尤其有用,因為在 HTML 表單中,使用者輸入或選取的值將指定給伺服器。

若要使用此指令...

Open Form Controls toolbar, click Combo Box icon and drag mouse to generate field. Database connection must exist in the form: Wizard - Page 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.