Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing indexes programatically
Message
From
22/12/1998 05:40:00
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00169556
Message ID:
00169557
Views:
21
>Hello All,
>I have a need to remove all index tags from my tables ( for performance reasons ) then reinstate them, I saw some code years ago that modified the header using low level functions,did something then set the header back as was, anyone have any ideas?
>
>Thanks
>Pete Kane

DELETE TAG ALL, is just about instantaneous for removing all index tags.

You'll have to re-create the indexes with new INDEX ON commands though.

Even if you had some way to 'magically' disconnect and reconnect the index file, you would still need to REINDEX the table after the procedure, so this would take the same amount of time as the strategy mentioned above.
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Previous
Reply
Map
View

Click here to load this message in the networking platform