Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Zap/Dele All - no packing
Message
De
02/03/2016 04:46:11
 
 
À
02/03/2016 04:37:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01632301
Message ID:
01632417
Vues:
64
>>>>>No matter what I do, I can't get a small table with 80 odd records in to pack. I can delete the records, but no way will it pack, no matter what SAFETY is set to, or even if used EXCL.
>>>>>
>>>>>A timer runs every few minutes, zaps the file, and gets updated data put into it for a grid. Eventually the file is soooo stuffed full of stuff that it takes ages to put new stuff in. It is ridiculous to think of the user having to go and clear it manually.
>>>>>
>>>>>Any ideas? Thanks.
>>>>
>>>>a couple stupid questions -- is the table in question listed as an item within the project? Is it tagged as excluded?
>>>>
>>>>(yes, I'm aware that if the file is included in the EXE, trying to DELETE a record should throw an error -- but I'd run into occasions where an error trap masked this)
>>>
>>>I bet he's zapping/packing one table and looking at another
>>>
>>>This whole thread makes no sense - at all
>>
>>as OP code does not force the bookings table to be the active table, I certainly won't bet against you ;-))
>
>I think this is the only possibility left
>
>I've never ever seen a pack that does not pack without giving an error

the code does a use in 0, no select afterwards and no "in" with delete, pack or zap. If ANY table is active before that snippet... and no attempt to show current alias/dbf in the messageboxes
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform