Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I close a database?
Message
From
31/12/1997 07:36:03
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00068458
Message ID:
00068585
Views:
25
>>Which brings me back to my question. Once a DBC has been opened for sharing, how can I close it so that I can
>>open it for exclusive, without issueing "CLEAR ALL" or "CLOSE ALL". I have global variables and a toolbar active
>>during development.
>>
>>Bill
>
>Bill,
>
>Ok here's the short version;
>
> SET DATABASE TO MyDbc
> CLOSE DATABASE
> OPEN DATABASE MyDbc EXCLUSIVE

Jim,

This doesn't work for me. I just tried it. If my project manager is open while SET EXCLUSIVE is off, then the database if open shared. If I try your code in the command window, I still can't get to the RI or anything else that requires exclusive use of the dbc. I can only get it to open exclusive if I close the project manager then issue the OPEN DATABASE MyDbc EXCLUSIVE. I think this is the same problem Bill is having. Am I missing something here?

Thanks.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform