Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dbused('dbcname') question
Message
De
30/10/2002 13:29:50
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Dbused('dbcname') question
Divers
Thread ID:
00717009
Message ID:
00717009
Vues:
72
I have an issue where I need the dbused() function to return .f., indicating that the currently set to database is closed. Using the code below, I cannot achieve this. Using a "close databases all" is not a desirable option here.

&& the database "dbcname" is already opened
set data to dbcname
close tables
close indexes
close format
close database

If I look at dbused('dbcname') now, it returns .t. Is there something else I can do to get this databse to close? Is there a way to inspect any references to the database that are preventing it from closing?
Kendall Webb
Senior Software Engineer
MCAD.Net/MCSD.Net
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform