Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox lookup on InteractiveChange() event
Message
 
 
To
15/10/2003 08:56:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00838842
Message ID:
00838858
Views:
23
Don,
Combos already have incremental search functionality built into it. Set the IncrementalSearch property to .T. to turn it on. The issue with this is that users must type relatively quickly to get the search to work. The time between keystrokes can be set using the _DBLCLICK variable (prior to VFP 7) or _INCSEEK (VFP 7 and beyond).

See VFP Help for _INCSEEK for more information.

HTH.

>I have a ComboBox in my form:
>
>BoundColumn: 3
>
>BoundTo: .T.
>
>ControlSource: dd_lar.lr_projid
>
>RowSource:
>SELECT pj_pcode, pj_title, pj_id FROM dd_proj ORDER BY pj_pcode into cursor projlist
>
>RowSourceType:
>3 - SQL Statement
>
>
>
>pj_pcode looks something like: LCAC41SA92, LSD43PMA90, etc...
>
>I want to be able to type in 'LS...' and have Index (item) to move
>from 'AGF...' to 'LCA...' to 'LS...'.
>
>How do I code this?
>
>Don K
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform