Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DBC and datasession question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
DBC and datasession question
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01567405
Message ID:
01567405
Vues:
66
I am working on part of our system update program that goes through every table in the system and copies deleted records to a backup folder. It runs in a scan loop, opens each table checks the table structure against an existing backup table (that accumulates the deleted records each time it is run) and creates a new table structure if needed. It all works just fine except that I just realized that all the backup tables wound up in the DBC. This is because most of the normal tables are in the DBC and it's open during the process.

If I do a CLOSE DATABASE then all the tables including the cursor driving the operation will then close.

Suggestions anyone?
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform