Information générale
Catégorie:
Codage, syntaxe et commandes
>>The question also is who much diskspace is enough for Fox temp files >>during a PACK? 1/2x or 1/3x the size of the DBF? Also, could U just >>use diskspace() before attempting a pack? Please keep this thread >>alive if you confirm this is a problem.
I believe that you need something like 3 times the size of the table being packed. FoxPro copies the original table without the deleted records, deletes the original, and then renames the copy (hence the reason PAul lost his whole table when he ran out of disk space).
For this reason, PACK was often done manually in pre-Visual FoxPro i.e. the above steps were performed with a custom program, allowing the programmer to recover in the event of an error. However, this procedure will likely damage referential integrity etc :(
Matt McQueen.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement