>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement