Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Packing & Reindexing
Message
From
24/11/1996 12:06:52
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00013305
Message ID:
00013315
Views:
28
>>The Help files for PACK state that the command rebuilds all open index files. Is it safe to assume that .CDX files, open by definition, are re-indexed?
>
>John
>
>Yes, if associated with the packed Table then they are re-indexed. Memo files are also packed (they can get wild). Please not though the VFP indexes are not the same indexes your Mom & Dad used to use! VFP Tables now have backlinks in the header to the DBC, Primary index info is stored in the DBC, etc. To truly completely reindex you need a third party tool or do a lot of 'head banging'. It took me at least a week to write a routine. Learned a lot...

if you are going to write such a thing
look into the gendbc which can come handy for this

Arnon
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform