Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Locate For from Bottom To Top
Message
De
05/06/2014 07:56:02
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP3
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01601100
Message ID:
01601342
Vues:
51
>>Except that since it's Rushmore-optimizable, very handy when you need to search based on multiple criteria.
>>
>
>I know it's Rushmore optimizable. My point was more that it is record based, not set based, which went out about 20 years ago.

The tables still have records, AFAIK. The "get a set of records for whatever you need" sounds like "hammer is the only tool you'll need" being recommended while you still have lots of nuts and screws.

Some scenarios come to mind - like using a locate without clauses to get to the top record under current index, or when looking for a particular record in another cursor, when the conditions are built on the fly and doing yet another SQL for just checking for existence of a particular record isn't worth the hassle (naming the cursor, having fox build buffers for it, invent a name for it, close it on exit etc etc).

So I'd rather have that screwdriver in my toolset, no matter how sophisticated the hammer.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform