PRB: Combo Box Does Not Show Item After Selecting ItemLast reviewed: January 10, 1997Article ID: Q155750 |
The information in this article applies to:
SYMPTOMSWhen an item does not appear in a combo box after you select it, make sure the combo box's ControlSource property is pointing to a field in a table. If it is, check the RowSource and RowSourceType properties. The item selected in the combo box might have more characters than the field that the combo box is bound to. For example, if the combo box has a RowSourceType property of value, and the RowSource property value is larger than the field of the table that it is bound to with the ControlSource property, then lengthen the table's field to the widest item in the RowSource property or shorten the value of the RowSource property to the length of the field. If any selected item in the combo box is equal to or less than the number of characters in the table's field, it appears in the combo box.
CAUSEThe field that the ControlSource property is bound to has fewer characters than the item selected in the combo box.
STATUSThis behavior is by design.
MORE INFORMATIONWhenever there is an item in a combo box list that has more characters than the field of a table that the combo box is bound to, the item you choose is written to the field in the table, truncated, but the item does not show up in the combo box. Any item in the combo box list that has the same or less than the number of characters than the field of the table appears correctly in the combo box and is written to the field. This happens regardless of what you set the RowSourceType property to as long as the ControlSource property of the combo box is set to a field of a table.
Steps to Reproduce Behavior
|
KBCategory: kbtool kbprb
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |