Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PROBLEM: Optimized LOOKUP can get different values
Message
 
 
To
09/09/2003 10:31:16
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00827451
Message ID:
00827482
Views:
20
O well, I never trusted this function and stopped using it long time ago. You certanly can progran in VFP w/o it.

>Hi Sergey,
>
>No, also with only alpha character LOOKUP fails.
>
>
>CLEAR
>CREATE CURSOR mcur ( F1 C(5) NOT null)
>INSERT INTO mcur VALUES ('AB')
>INSERT INTO mcur VALUES ('A B')
>SET EXACT ON
>sExp='AB    '
>? 'WITH SCAN',LOOKUP(F1,m.sExp,F1)
>INDEX ON F1 TAG TAGERR
>? 'WITH SEEK',LOOKUP(F1,m.sExp,F1)
>
>
>Fabio
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform