Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I PACK a table while my program is running
Message
De
30/12/1997 03:05:56
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00068300
Message ID:
00068381
Vues:
32
>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform