Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SEEK() not working properly?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00231440
Message ID:
00231446
Vues:
10
>I have a weird situation. When I issue a SEEK() on a table, it finds a matching record just fine but it's returning .F. as a return value.
>
>IF SEEK(lcSeekVal,"Mytable","MyTag")
> ? "Record found"
>ELSE
> ? "Record not found"
>ENDIF
>
>IOW, the record pointer on the table is moved to a matching record but the SEEK() fuction is returning .F. saying it didn't find the record. Why?

John,

This will happen if you have;

SET NEAR ON

it can occur with SET EXACT ON or OFF depending on the value of lcSeekVal.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform