Board index » delphi » Exclusive Mode vs. Database Desktop

Exclusive Mode vs. Database Desktop

Hi NG,

I opened a paradox 7 table with exclusive:=TRUE (Delphi 5 Pro , BDE 5.2);
when trying to open it with another application the connection is refused
(that's what I want).

BUT

you can open it with Database Desktop from Delphi 5, put data into the
table, you can even restructure it!

How can I prevent the table being opened with Database Desktop while being
in exclusive mode?

Thanks
Greg

 

Re:Exclusive Mode vs. Database Desktop


Are you sure you are opening the same copy of the table in DBD that
you have opened exclusively in your D5 app?

--
Bill (TeamB)
(TeamB cannot respond to questions received via email)

Re:Exclusive Mode vs. Database Desktop


Quote
"Gnther Liebrecht" <g...@tiscali.de> wrote:
>I opened a paradox 7 table with exclusive:=TRUE (Delphi 5 Pro , BDE 5.2);
>when trying to open it with another application the connection is refused
>(that's what I want).

>BUT

>you can open it with Database Desktop from Delphi 5, put data into the
>table, you can even restructure it!

This should not be happening. You're sure it's the exact same
file, not a copy of it? Two other things to check:
-Do you see any indication that you may have two copies of the
BDE installed, and some confusion in the Registry keys?
-When all users have exited any BDE app using the table, do the
*.lck files in that directory still persist? Have they somehow
become "read only"? Can you delete them?

Rick Carter
Rick.Car...@cincww.rcc.org
Chair, Paradox/Delphi SIG, Cincinnati PC Users Group

Re:Exclusive Mode vs. Database Desktop


Quote
> Are you sure you are opening the same copy of the table in DBD that
> you have opened exclusively in your D5 app?

yes, because when I close and reopen the application the data entered via
Database Desktop
are present

Re:Exclusive Mode vs. Database Desktop


"Rick Carter" <Rick.Car...@cincww.rcc.org> schrieb im Newsbeitrag
news:3f2acfd6$1@newsgroups.borland.com...

Quote
> This should not be happening. You're sure it's the exact same
> file, not a copy of it? Two other things to check:

yes, see answer to Bill

Quote
> -Do you see any indication that you may have two copies of the
> BDE installed, and some confusion in the Registry keys?

Oh, this seems to be the problem. In BDE Administrator, Configuration,
System, INIT/Formats
I get: Invalid Parameter  BDE Error 9986 [$27][$2]. I googled, but did not
find
an appropriate answer to this error. Any idea which parameter may be wrong?

Quote
> -When all users have exited any BDE app using the table, do the
> *.lck files in that directory still persist? Have they somehow
> become "read only"? Can you delete them?

No, the *.lck files do not persist

Thanks
Greg

Re:Exclusive Mode vs. Database Desktop


You may need to reintall the BDE. One other thing to try is setting
Local Share to true in BDE Administrator.

--
Bill (TeamB)
(TeamB cannot respond to questions received via email)

Other Threads