Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Locate & Seek
Message
De
07/06/1999 13:55:44
 
 
À
07/06/1999 13:48:18
Jack Smack
Boyd, Dewey, Cheatum & How
Fresno, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00227120
Message ID:
00227123
Vues:
27
LOCATE FOR will work on any field (given a performance penality if not indexed). It can be used in conjunction with CONTINUE to go from one match to another. You need to check Found() to know if a match was found. You can combine expression also.

Ex.:
LOCATE FOR State = "NY" AND Income > 50000
IF Found()
ENDIF

SEEK will work on indexed field only. It's a line line test if you use the function Seek() instead of the command SEEK.

Ex.:
IF Seek("Larin", "Client", "LastName")
ENDIF

The new IndexSeek() function works like Seek(), except that it doesn't move the pointer.

>I'm new to VFP.
>
>Could anyone tell me the diference between LOCATE FOR
>and SEEK?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform