Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to close DBC
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00598340
Message ID:
00598397
Vues:
31
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform