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

Click here to load this message in the networking platform