Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Seek or locate ?
Message
From
03/06/2001 10:48:03
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00514305
Message ID:
00514316
Views:
15
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
Previous
Reply
Map
View

Click here to load this message in the networking platform