Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PROBLEM: I want to use == on comparison of strings
Message
 
 
À
05/09/2003 08:34:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00826335
Message ID:
00826361
Vues:
21
Fabio,

I stopped using LOOKUP() function in FP 2.6 because of a bug. It would find deleted records even when SET DELETE is ON. I guess this bug was fixed in the VFP but I never feel a need to use it again.

>Hi Sergey,
>
>and for
>
>>SET EXACT OFF
>>? LOOKUP(F1,'A'+SPACE(1000),F1) && <-- WITH EXACT OFF IT NOT FOUND
>>* for set soft you get a hard comparison
>>SET EXACT on
>>? LOOKUP(F1,'A'+SPACE(1000),F1) && <-- WITH EXACT ON IT FOUND
>>* for set hard you get a soft comparison
>>
>>* but if you define a INDEX
>>INDEX ON f1 tag TAG1
>>? LOOKUP(F1,'A'+SPACE(1000),F1) && <-- USE INDEX AND IT NOT FOUND
>
>
>Fabio
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform