Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SDT open when app runs?
Message
From
26/04/2000 09:31:49
 
 
To
25/04/2000 23:54:38
Stan Vaninger
Mitek Industries, Inc
Missouri, United States
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00363441
Message ID:
00363549
Views:
12
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform