Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Locate FOR and Seek behave differently
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Locate FOR and Seek behave differently
Divers
Thread ID:
00699912
Message ID:
00699912
Vues:
64
Hi everybody,

Just discovered a fact, which surprised me a little.
set exact off
set near on
LOCATE FOR Fullname='Banknorth'

Record position is in the end of the file (there is no Banknorth)
set order to fullname
seek 'Banknorth'
record position is on the next record "Bann Cor Mortgage ", which is where I want it to be...

Could you please explain me this difference.

VFP6 SP4.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform