Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Incremental search in Grid without jKey ?
Message
De
22/01/2007 16:49:20
 
 
À
22/01/2007 16:47:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01187708
Message ID:
01187901
Vues:
38
>>>>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform