Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PROBLEM: I want to use == on comparison of strings
Message
 
 
To
05/09/2003 08:34:49
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00826335
Message ID:
00826361
Views:
22
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform