ComboBox.AllowValueListEdits 屬性 (Access)ComboBox.AllowValueListEdits property (Access)

取得或設定是否 編輯清單項目] 命令時才能使用使用者以滑鼠右鍵按一下下拉式方塊。Gets or sets whether the Edit List Items command is available when the user right-clicks a combo box. 可讀寫的 BooleanRead/write Boolean.

語法Syntax

運算式AllowValueEditListsexpression.AllowValueEditLists

_運算式_代表**ComboBox** 物件的變數。expression A variable that represents a ComboBox object.

註解Remarks

AllowValueEditLists屬性會決定是否編輯清單項目] 命令時才能使用使用者以滑鼠右鍵按一下結合查閱欄位的下拉式方塊。The AllowValueEditLists property determines whether the Edit List Items command is available when the user right-clicks a combo box that's bound to a Lookup field.

如果查閱欄位繫結至值的清單,當使用者選擇 [編輯清單項目時,會顯示 [編輯清單項目] 對話方塊。If the Lookup field is bound to a list of values, the Edit List Items dialog box is displayed when the user chooses Edit List Items. 然後,使用者可以新增、刪除或編輯下拉式方塊中所顯示的項目。The user can then add, delete, or edit the items to be displayed in the combo box.

如果查閱欄位繫結至資料表或查詢,當使用者按一下 [編輯清單項目,會顯示ListItemsEditForm屬性所指定的表單。If the Lookup field is bound to a table or query, the form specified by the ListItemsEditForm property is displayed when the user clicks Edit List Items. 使用者可用於新增、 刪除或編輯的項目下拉式方塊中顯示的表單。The user can use the form to add, delete, or edit the items to be displayed in the combo box.

AllowValueEditLists 屬性不適用於報表上的下拉式方塊。The AllowValueEditLists property is not available for combo boxes on a report.

支援和意見反應Support and feedback

有關於 Office VBA 或這份文件的問題或意見反應嗎?Have questions or feedback about Office VBA or this documentation? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.