Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Locate Function
Message
De
24/07/2002 13:32:36
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00682059
Message ID:
00682153
Vues:
19
>Does locate work when issued succeessively?

LOCATE (not a function but a statement) finds the first record that matches the condition.

If you want to LOCATE a second instance you can use CONTINUE

BTW, LOCATE does a GO TOP if no condition supplied so it makes for a handy replacement for GO TOP that is sometimes faster as GO TOP could be slow if you have a filter set that is not optimized.


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform