ACC: LimitToList Enforced Even When Set to NoID: Q122242
|
Moderate: Requires basic macro, coding, and interoperability skills.
When you type a unique value in a combo box and then press ENTER, you
may receive the following error message even though the combo box's
LimitToList property is set to No:
In Microsoft Access 7.0 and 97:
The text you entered isn't an item in the list.
The text you enter must match an entry in the list.
Even if the combo box's LimitToList property is set to No, Microsoft Access limits entries to those in the combo box if the first column displayed in the combo box is not the bound column. This behavior occurs because Microsoft Access stores the bound column value when you enter a nonbound column selection. If you could enter a new value for the nonbound column, Microsoft Access would have no value to store for the bound column.
In order to allow unique entries in a column box, make the first nonhidden column in the combo box the bound column.
This behavior is by design.
Field: ProductName
Show: True
Field: ProductID
Show: True
RowSourceType: Table/Query
RowSource: Test Query1
ColumnCount: 2
BoundColumn: 2
LimitToList: No
RowSourceType: Table/Query
RowSource: Product Names and IDs
ColumnCount: 2
BoundColumn: 2
LimitToList: No
For more information about the LimitToList property, search the Help Index for "LimitToList property," or ask the Microsoft Access 97 Office Assistant.
Keywords : kberrmsg FmsCmbo
Version : 2.0 7.0 97
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: April 8, 1999