PRB: Incremental Search Always on 1st Col of Multi-Column ListLast reviewed: February 23, 1996Article ID: Q147208 |
The information in this article applies to:
SYMPTOMSWhen 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.
RESOLUTIONTo 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 :
ARTICLE-ID : Q137125 TITLE : How to Use IncrementalSearch Property of List and Combo Boxes STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce BehaviorThis example uses the Customer table located in the Vfp\Samples\Data directory with indexes created on the Company and Contact fields.
|
Additional reference words: 3.00 3.00b VFoxWin
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |