Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index exist?
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00585791
Message ID:
00585830
Views:
13
>>Hi
>>
>>How can I see if an index exist for a table?
>>
>
>
IF Tagno("mytag1") > 0
>  * Tag mytag1 exists
>ENDIF
If you want to know if index file exist
lcTableName = "C:\mydir\mytable"
IF FILE( FORCEEXT( lcTableName, "CDX") )
  * The table has structural index
ENDIF
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform