Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record number from an index
Message
From
20/10/2000 20:13:16
Steven Edge
Soft Solutions Limited
Lagos, Nigeria
 
 
To
13/10/2000 22:33:05
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00429474
Message ID:
00432377
Views:
24
I would try something like this. First decide which field the current index is created on. Read this value into memory.

lvIndexValue = IndexFld

SELECT COUNT(*);
WHERE IndexFld <= m.lvIndexValue;
INTO ARRAY aRecPos

Naturally, this assumes that the index is ASCENDING. With a DESCENDING index, reverse the sign.

Didn't run it myself, but it should work.

Steven
Previous
Reply
Map
View

Click here to load this message in the networking platform