#1 2013-02-09 11:01:26

array81
Member
From: Italy
Registered: 2010-07-23
Posts: 411

Connect with MDB database in NOT exclusive mode

Hi,

I have a software that use MDB (access) database to save the data.
In my application I use TOleDBConnectionProperties to connect with this DB and read/write some data.

However I have a small problem. I cannot run the software together, in fact if I try to run the applications together I get an error from the application that I started to second because the DB is block.

Is there a way to avaoid it? My application is similar to other software that allow it without problem, so I think this is possible but i don't know how.

regards

Offline

#2 2013-02-09 11:26:31

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,660
Website

Re: Connect with MDB database in NOT exclusive mode

Are you sure it is just not a file access right problem?
See http://dba.stackexchange.com/questions/ … has-a-lock

Offline

#3 2013-02-09 23:37:18

array81
Member
From: Italy
Registered: 2010-07-23
Posts: 411

Re: Connect with MDB database in NOT exclusive mode

I don't change the db right, and the first application that I run can access without problem, so I don't think it is a access right problem.

Offline

Board footer

Powered by FluxBB