Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SDT open when app runs?
Message
De
26/04/2000 09:31:49
 
 
À
25/04/2000 23:54:38
Stan Vaninger
Mitek Industries, Inc
Missouri, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Divers
Thread ID:
00363441
Message ID:
00363549
Vues:
11
>I am new to SDT and have a basic question. I am developing a VMP4 app and am using SDT. I have added a form to the app that will perform a backup of all data files (using the article "clBackRest" by Chad J. Lemmer in the April 2000 issue of FoxTalk). The backup works ok but will not copy the various SDT tables. Are these even supposed to be open when the application exe is runnning? If so, is there any convenient way to close them all say with a single command?
>
>TIA
>Stan

Yes, when you init DBCXMgr class it opens all the meta data in an invisible form with a private data session and leaves the tables open... This allows DBCX to perform well when you send it requests.

Release the DBCX Manager prior to your backup, then re-init it.

In your startup you probably added something like:

oMeta = createobj('dbcxmgr')

So, you will want to release that, then do your back up, then re-init oMeta.

BOb
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform