Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I PACK a table while my program is running
Message
From
30/12/1997 03:05:56
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00068300
Message ID:
00068381
Views:
46
>>I'm trying to remove the deleted records from a table in my program. When I try to pack the table using code in my program it doesn't work (and I get no error messages) but when I use the same command at the command line it works.
>>
>>What's the trick to packing a table in a program? I've tried adding the table to the data environment of my form and making it exclusive, but that doesn't seem to work.
>>
>>Jeff
>
>I just use the table exclusive and pack...have you tried running the code outside of a form taht has the table in the data environment?
>
>Joe

Are you really in the current table ?
Use:
SELECT yourtable
PACK

May be your try to pack with a buffering table. If your table is buffered, use TABLEUPDATE to commit or TABLEREVERT to rollback then open again the source table and pack it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform