Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New GOTO trick?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00631774
Message ID:
00633375
Vues:
28
>Chris,
>
>I would use LOCATE FOR RECNO() = Value if I ever needed to position on a certain record by RECNO(). However, I don't use RECNO() to find records I use the PK value instead.

So that's 3 different ways of getting to the same place
Locate RECORD lnRecord
Locate for Recno() = lnRecord
GoTo lnRecord
Is there a best one or is it just preference (I'm using this code to ensure that any table is on the correct record after something that might move the record pointer has finished so a primary key is not an option).

Thanks
Caroline
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform