Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
INDEXSEEK
Message
 
To
25/04/2001 12:09:40
David Brunelle
Université de Sherbrooke
Sherbrooke, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00499657
Message ID:
00499672
Views:
17
David,

It'll use the current active index if you don't specify which one you want to use, otherwise the full command is:

INDEXSEEK(eExpression [, lMovePointer [, nWorkArea | cTableAlias
[, nIndexNumber | cIDXIndexFileName | cTagName]]])

Then, you can specify which index to use (and which table instead of the currently selected)

Hugo


>I have a question about the INDEXSEEK() function.. How does it actually choose which index to use.. I know in some case this is obvious, like when you have only one index, or two really diferent index, but supposed you have two index that look pretty much the same (one that contain an initial of a client for example and another one a two letter code, and another one with a four letter cose for something else) How will it know which index to seek in... I mean, when you do : INDEXSEEK(this.value,.T.) for example... it doesn't show anywhere which index to choose...? How can you be sure it took the right one?
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform