Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Locate??
Message
De
17/03/1998 13:39:39
 
 
À
17/03/1998 12:54:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00084986
Message ID:
00085135
Vues:
44
>Hi Edward,
>
>In the code you supplied, you first did a SEEK to find the first occurence of the needed record(s), then the LOCATE with the WHILE clause. Would adding the REST clause make any difference in speed? I'm not trying to pick here, I just don't know. That is, does the LOCATE have to go back and start from BOF even though you did a SEEK to the first occurence? If so, would adding the REST clause cause it to start where the current record pointer is and save some time?

Hi Bill,
If pointer would go back then WHILE expr would be evaluated to .F. immediately and these two commands would provide even different results. I mean that adding REST you hurt nothing and get nothing.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform