Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dbused('dbcname') question
Message
From
30/10/2002 13:29:50
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Dbused('dbcname') question
Miscellaneous
Thread ID:
00717009
Message ID:
00717009
Views:
71
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
Next
Reply
Map
View

Click here to load this message in the networking platform