Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to close DBC
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00598340
Message ID:
00598397
Views:
33
>>I have a DBC open and try to close it in the following way but it remains open:
>I would presume it is because you SET DATABASE TO,
>It will be closed, though the SET command will still have a reference to the file.
>CLOSE DATABASES should close all tables and databases, not just the current one.
>Try
>SET DATABASE TO
>when closing, (aswell as CLOSE DATABASES)

Chris,

Thanks, but that still doesn't do it. This is part of a routine that creates a DBC and then adds free tables to it. The effect noted happens during debugging when the routine gets run over and over. If I did a CLOSE ALL instead of CLOSE DATABASES it works fine.

Nadya, the name of the DBC is not a reserved word. Any other ideas?

Thanks to both. Alex
Previous
Reply
Map
View

Click here to load this message in the networking platform