Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PROBLEM: Optimized LOOKUP can get different values
Message
 
 
À
09/09/2003 10:31:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00827451
Message ID:
00827482
Vues:
21
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform