Access 2002 - Exclusive Use of db

S

Shark

went from using Access 97 to 2002 - am now getting messages saying I must have exclusive use of db. I haven't changed any of the options that were on the Access 97 db - all I did was update it to 2002 and am now getting these messages that are now requiring that everyone get out of the db for me to save data, etc. - Any advice on how to correct this?
 
B

Brendan Reynolds

Are you sure that you're getting these messages when you're simply changing
data, not making any design changes?

Access 97 was the last version of Access that permitted design changes
without exclusive access. All later versions require exclusive access to
save design changes.

--
Brendan Reynolds (MVP)

Shark said:
went from using Access 97 to 2002 - am now getting messages saying I must
have exclusive use of db. I haven't changed any of the options that were on
the Access 97 db - all I did was update it to 2002 and am now getting these
messages that are now requiring that everyone get out of the db for me to
save data, etc. - Any advice on how to correct this?
 
B

Brendan Reynolds

What's the exact message, and at what point are you seeing it?

--
Brendan Reynolds (MVP)

Shark said:
Yes - it is giving me the message for simply changing data. Any thoughts
on how to remove the exclusive access requirement?
 
S

Shark

The way the message is given is, "Microsoft Access can't save design changes or save to a new database object because another user has the file open. To save your design changes or to save a new object, you must have exclusive access to the file." All that I'm trying to do is add a record to a form and this is the message that is given to me.
 
B

Brendan Reynolds

Perhaps there's some code in one of the events being fired when you add a
new record that is trying to save a design change?

--
Brendan Reynolds (MVP)

Shark said:
The way the message is given is, "Microsoft Access can't save design
changes or save to a new database object because another user has the file
open. To save your design changes or to save a new object, you must have
exclusive access to the file." All that I'm trying to do is add a record to
a form and this is the message that is given to me.
 
S

server di News

sei proprio un deficente...



Brendan Reynolds said:
Perhaps there's some code in one of the events being fired when you add a
new record that is trying to save a design change?

--
Brendan Reynolds (MVP)


changes or save to a new database object because another user has the file
open. To save your design changes or to save a new object, you must have
exclusive access to the file." All that I'm trying to do is add a record to
a form and this is the message that is given to me.
 
S

Shark

I think the primary issue is that I have the data within this database with a link to another database that is being edited by others. In the past with 97 it has never been a problem but now with 2002 whenever someone else is in the other database and I open up the primary one it states that I must have exclusive use of the database. I would like to be able to add records also to the same database without having to do it exclusively. I figured there is some new set property that comes automatically with the new 2002 software that is checked and if it was unchecked would return to my previous settings on 97. Any thoughts on how to do this?
 
B

Brendan Reynolds

You can check in Tools/Options/Advanced that 'Default Open Mode' is set to
'Shared', but I strongly doubt that this is your problem - the error message
you mentioned in your previous post specifically mentions design changes. My
suspicion is that some code in the BeforeInsert, AfterInsert, or
BeforeUpdate procedures is trying to save a design change.

To the best of my knowledge, the default value of the 'Default Open Mode'
option did not change between Access 97 and Access 2002, but the ability to
save design changes without exclusive access did change, so the fact that
this did not happen in Access 97 is another reason why I think this is the
problem.

Of course, I could be wrong, and it can't hurt to check that the Default
Open Mode is set to Shared.

--
Brendan Reynolds (MVP)

Shark said:
I think the primary issue is that I have the data within this database
with a link to another database that is being edited by others. In the past
with 97 it has never been a problem but now with 2002 whenever someone else
is in the other database and I open up the primary one it states that I must
have exclusive use of the database. I would like to be able to add records
also to the same database without having to do it exclusively. I figured
there is some new set property that comes automatically with the new 2002
software that is checked and if it was unchecked would return to my previous
settings on 97. Any thoughts on how to do this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top