whether 'tis nobler in the application
to suffer the slings and arrows of insufficient disk space...
----------------------------
PACK is not a good idea, we know this. I learned it early on when my application ran out of disk space during a PACK and lost the original and the copy tables - not a happy experience.
SO the normal action is to check for sufficient disk space, then COPY TO a temporary file FOR NOT DELETED(). Then to reindex that file. Finally rename your table and CDX to a backup name (just in case) and rename your copy back tp the original.
Lovely - but has anyone written a class or procdure to do this for a VFP table that is part of a database?
I'm starting out on this escapade and don't want to reinvent the wheel.