Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get list of all indexes of table
Message
From
01/06/1998 14:55:42
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00103725
Message ID:
00103729
Views:
15
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
Previous
Reply
Map
View

Click here to load this message in the networking platform