Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GO TOP before SEEK?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00471932
Message ID:
00472658
Vues:
32
>Someone told me to always GO TOP before doing a SEEK as follows:
>
>SEEKID = seekaddress
>SELECT mytable
>SET ORDER TO myid
>SEEK SEEKID
>IF FOUND()
>ENDIF
>
>Should I always put a GO TOP or GOTO TOP before the SEEK SEEKID command?
>I did not think it was necessary. Am I right or am I wrong? Thanks for the info.

I wonder why so many folks use SEEK at all these days. Between LOCATE and SQL and SCAN (none of which require a SET ORDER), why SEEK at all? Just curious, in case I'm missing something. :)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform