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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement