Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DBC exclusive
Message
De
19/08/1997 08:01:40
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
DBC exclusive
Divers
Thread ID:
00045494
Message ID:
00045494
Vues:
56
I was wondering if you can help me with this problem: I have to use a .DBC in exclusive.

I did the following commands in the Load Method:

Close Data All
Use MyDatabase.dbc Exclusive

After doing this, I opened a table (.dbf) from the database in exclusive. I made a ZAP and then an APPEND FROM. Until this point, everything was OK. The problem came up when I ran the .exe file from another machine. In the first machine, I had opened the database in Exclusive. So, in the second machine must appear a message because I have under control the error when I try to open a file that is opened in exclusive.

I find out that the problem was that I was working in a Private Data Session. (In this way, the DataBase don't detect that it opened in exclusive and I don't know why). So, I put in Public Session and everything works OK. However, this isn't the best solution...

After that I did the following

USE MyDataBase.DBC Exclusive

and when I tried to open a table, a message appeared saying that the table was in use (This is correct, and this is what I want it)

I tried every fuckin' thing (Sorry) but I couldn't make it. I need to work in Private Data Session. Do you know what can I do? :-)


Best regards,
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform