Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get list of all indexes of table
Message
De
01/06/1998 14:55:42
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00103725
Message ID:
00103729
Vues:
16
Hi Giedrius

>I need to get list of all indexes which are in CDX file?
>and index' expresion and name of them.
>How it is possible?

Assumings it's a structural CDX (which opens automatically with the table)

USE table
nCounter=1
DO WHILE !EMPTY(TAG(nCounter,"table"))
?SYS(14,nCounter) &&& prints Index expression for tag 1
?TAG(nCounter,"table") &&& Prints tag name
nCounter=nCounter+1
ENDDO

OK?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform