Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DBC and datasession question
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01567405
Message ID:
01567407
Views:
49
>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?
CREATE TABLE Whatever FREE ...
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform