PRB: Combo Box Does Not Show Item After Selecting Item (155750)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q155750 SYMPTOMS
When 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.
CAUSE
The field that the ControlSource property is bound to has fewer characters
than the
item selected in the combo box.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 10/15/2003 |
---|
Keywords: | KB155750 |
---|
|