Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't pack table!
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01227355
Message ID:
01227425
Views:
18
I was playing with the COPY TO command when I made the post because I figured this was my best bet.

Here's how I got it fixed;
1. Used the table EXCLU, and issued a PACK. It packed the table, and gave the error as it was trying to pack the memo table.
2. Did a COPY TO myGoodTable FOR NOT DELETED()

This seems to of worked. What I found suprising is that the FOR NOT DELETED() was required for this to work, otherwise - even though the .dbf had been packed - the COPY TO command was still getting all the deleted stuff from the .fpt - so the ending .dbf was smaller - but the darn .fpt file wouldn't shrink.

Anyway - all is well now and the app won't blow up.
Thanks everyone...


>Try the COPY TO command.
>
>
>>I have a .dbf file that is 76mb, however it's .fpt file is 1.86GIG.
>>
>>The problem I have is that when I issue a PACK...the .dbf get's packed...but I get an error when it gets to packing the .fpt file. "Not enough memory for file map". I have 4 gig of memory in the machine that's trying to perform the PACK. I'm extreamly concerned because this .fpt file is going to pass the 2gig limit in less than three days if I don't do something.
>>Does anyone have any work-arounds?
>>Thanks!
ICQ 10556 (ya), 254117
Previous
Reply
Map
View

Click here to load this message in the networking platform