Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Seek - not exact search? What does influence on it?
Message
 
 
À
04/01/2000 11:49:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00312453
Message ID:
00312484
Vues:
13
Hi Chuck,
>>
>>Today I found that function seek() does not exact search. Does it respect exact settings? I didn't notice this before...
>>
>>Test example: (haven't checked exact settings)
>>
>>create cursor hhh (code C(5))
>>select hhh
>>for i=10000 to 99999
>>  insert into hhh value (alltrim(str(i)))
>>endfor
>>index on code tag code
>>? seek('111','hhh','code') && return .t.
>>
>
>
>The seek function will respect the SET EXACT and SET NEAR commands.

Right, I found it by experiment. I just was not aware about it before...
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform