Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I close a database?
Message
De
31/12/1997 07:36:03
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00068458
Message ID:
00068585
Vues:
34
>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform