Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Incremental search in Grid without jKey ?
Message
From
22/01/2007 16:49:20
 
 
To
22/01/2007 16:47:32
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01187708
Message ID:
01187901
Views:
21
>>>>>Does it mean that grid record pointer should not move until exact occurence found?
>>>>
>>>>It moves as you type, e.g. you typed K and it positiones on the first record starting with K, you added O and it positiones on the record starting with KO, etc.
>>>
>>>Thank you. Could you tell me now what was wrong with my 'solution'?
>>
>>Add trim() and it should be fine
>>Seek trim(this.value) in mycursor  && 'mycursor' is grid recordsource
>>thisform.mygrid.setfocus
>>this.setfocus
>>NB! This requires SET EXACT OFF.
>
>No, it works with SET EXACT ON, SET NEAR ON, SET ORDER TO etc., and I like to use Seek() instead of Seek. :::)))

OK, but the trim() is necessary.
Previous
Reply
Map
View

Click here to load this message in the networking platform