PRB: Incremental Search Always on 1st Col of Multi-Column List
Article ID: 147208
Article Last Modified on 10/15/2003
APPLIES TO
- Microsoft Visual FoxPro 3.0 Standard Edition
- Microsoft Visual FoxPro 3.0b Standard Edition
- Microsoft Visual FoxPro 6.0 Professional Edition
This article was previously published under Q147208
SYMPTOMS
When the IncrementalSearch property of Visual FoxPro's list box or combo
box is set to True, the list box or combo box is capable of performing an
incremental search of values within the object. However, when the list box
or combo box has multiple columns and the RowSourceType property is set to
either 2-Alias or 5-Array, the incremental search is applied to the first
column in the list, regardless of the column to which the order is bound.
RESOLUTION
To apply incremental searching to a column other than the first, you need
to reorder the field list in the RowSource property of the list box if the
RowSourceType property is set to 2-Alias, or reorder the array if the
RowSourceType property is set to 5-Array.
For more information on the IncrementalSearch property, Please see the
following article in the Microsoft knowledge Base :
137125 How to Use IncrementalSearch Property of List and Combo Boxes
STATUS
This behavior is by design.
Additional query words: VFoxWin
Keywords: KB147208