I've found some interesting things in the past few months about the inner workings of VFP/FP from my return from developer retirement. So I thought I would ask about something we used to code for in FP2.x and wonder if this has been sorted in the VFP9 era.
In the "old days" if we had deleted records in a table, and we wanted to get rid of them, and that table had any index(s) with it, we would first:
SELECT TABLE
DELETE TAG ALL
PACK
<Run some routine to rebuild our indexes>
This was because index bloat and some, sometimes odd behaviors would occur if you just issued a PACK with the old index files.
Do I still need to do this in the VFP era, or have they fixed that overall issue (i.e. by maybe holding the index definitions, killing the index, and rebuilding it fresh without all that msess?)
I haven't seen this discussed.
Best Regards,
Scott
MIET, MASHRAE, CDCP, CDCS, CDCE, CTDC, CTIA, ATS
"Everything should be made as simple as possible, and no simpler."
In the "old days" if we had deleted records in a table, and we wanted to get rid of them, and that table had any index(s) with it, we would first:
SELECT TABLE
DELETE TAG ALL
PACK
<Run some routine to rebuild our indexes>
This was because index bloat and some, sometimes odd behaviors would occur if you just issued a PACK with the old index files.
Do I still need to do this in the VFP era, or have they fixed that overall issue (i.e. by maybe holding the index definitions, killing the index, and rebuilding it fresh without all that msess?)
I haven't seen this discussed.
Best Regards,
Scott
MIET, MASHRAE, CDCP, CDCS, CDCE, CTDC, CTIA, ATS
"Everything should be made as simple as possible, and no simpler."