Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - Not Found()/Select
Message
De
24/02/1997 11:17:58
 
 
À
24/02/1997 11:07:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Groupes d'usagers
Divers
Thread ID:
00021798
Message ID:
00021801
Vues:
34
>If you do a Select/From/Where and the where is not found, what is the return code? How can I tell if my
>where was not found. I use to do a "if !seek()".
>
>Rob

basically, Select-SQL returns set of records. After this command you can check _TALLY variable which shows how many records selected or 0.
Seek/Found returns logical variable: .T. if found and .F. if not. It's more logical to use Seek for search purposes (surely you have to have appropriate index tag).
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform