Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Seek or locate ?
Message
De
03/06/2001 10:48:03
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00514305
Message ID:
00514316
Vues:
16
Moisés

>>>>>>>>>>>>>
>I have a form and in it's dataenviroment a have a cursor
>The cursor has in it's "order" propriety a name of a .CDX file.
>And it works ok.
>>>>>>>>>>>>>

What you indicate in the propertty is a tag name, not a cdx name (the cdx generally shares the same name as the table).


>>>>>>>>>>>>>
>1-Is it the correct way of indexig by a form ?
>>>>>>>>>>>>>

Yes, it is OK. It is basically the same as if you opened your table and selected a tag (Order) in the Load() method.


>>>>>>>>>>>>>
>2- Wich is the best command to use in this case. Seek or locate ?
>>>>>>>>>>>>>

Generally SEEK is better. But with proper Rushmore optimization, LOCATE can be very fast too.

If you need help on Rushmore, just ask or you could also look at the Fox Wiki:
http://fox.wikis.com/wc.dll?Wiki~UnderstandingRushmore~VFP

Espero isto ajude a você.


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform