Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dbused('dbcname') question
Message
De
30/10/2002 14:21:20
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00717009
Message ID:
00717031
Vues:
22
>>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?
>
>What about the Project window, is it open? If the database is referenced in the project, it won't "really" close unless you close the project too.
>
>Hope this helps,

Nope, that's not it. PM is closed and I'm running the app from the command window right now, still testing.

Thanks for the reply though.
Kendall Webb
Senior Software Engineer
MCAD.Net/MCSD.Net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform