Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pack, Reindex Routines
Message
From
19/06/1999 12:25:59
 
 
To
18/06/1999 15:30:10
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00231557
Message ID:
00231770
Views:
13
>Hi All,
>
>In WinFoxPro and Dos FoxPro I had a routine that USED each file in the app, set the 'primary' index, copied it to a tempfile, deleted the original and renamed the tempfile and then reindexed it. This utility was run periodically to unfrag the file and make access by the primary index faster.
>
>With DBC's I believe it is not as easy to delete and add tables. I am about to rewrite that routine to copy, zap, append from tempfile, reindex.
>
>Has anyone done this or worked out a better to keep our .dbf's reorganized? TIA.
>
>Regards,
>
>Paige

Paige, this is basically what PACK does internally anyway- is there a reason that you don't want to use it?

As far as recreating the tags, there is nothing special to consider as far as the dbc goes except if you use relationships in the dbc for RI. YOu just have to remember to recreate the relationships as well as the tags after you have killed everything.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform