Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record number from an index
Message
De
20/10/2000 20:13:16
Steven Edge
Soft Solutions Limited
Lagos, Nigéria
 
 
À
13/10/2000 22:33:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00429474
Message ID:
00432377
Vues:
27
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform