By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,192 Members | 1,276 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,192 IT Pros & Developers. It's quick & easy.

Self Joins in Access - Error Encountered.

P: n/a
Hi all!

I'm having a bit of an issue making a self join in access (similar to
the example explained on Allen Browne's excellent site -
http://allenbrowne.com/ser-06.html).

I've made the self join in the query window, however when I've tried
to run the query i get the message "table t1 opened exclusively by
another user, or it is already open through the user interface and
cannot be manipulated programmatically"

Initially I thought it might be a corruption problem - but I mocked up
a similar self join in a brand new database, and still get the same
error.

I am using Access 2003.

Any help appreciated.

Regards
Darragh
Feb 14 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Suggestions:

1. While Access is not running, look in the folder where you database
resides. You should see an MDB file. If you also see a very small LDB file
with the same name as the MDB, delete the LDB. It contains locking
information. Access normally deletes it when you exit your database, but it
may be left over after a crash.

2. Make sure you have Name AutoCorrect turned off.
Uncheck the boxes under:
Tools | Options | General | Name AutoCorrect
Explanation of why:
http://allenbrowne.com/bug-03.html
Then compact/repair the database:
Tools | Database Utilities | Compact/Repair

3. Under Tools | Options, make sure you have the locking strategy set to:
No Locks
If you use table-level locking, you could have problems trying to use
multiple instances.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Darragh" <da************@gmail.comwrote in message
news:88**********************************@s12g2000 prg.googlegroups.com...
Hi all!

I'm having a bit of an issue making a self join in access (similar to
the example explained on Allen Browne's excellent site -
http://allenbrowne.com/ser-06.html).

I've made the self join in the query window, however when I've tried
to run the query i get the message "table t1 opened exclusively by
another user, or it is already open through the user interface and
cannot be manipulated programmatically"

Initially I thought it might be a corruption problem - but I mocked up
a similar self join in a brand new database, and still get the same
error.

I am using Access 2003.

Any help appreciated.

Regards
Darragh
Feb 14 '08 #2

P: n/a
Darragh <da************@gmail.comwrote in
news:885bf4d3-7f87-4165-abc3-4ffe772e8d92
@s12g2000prg.googlegroups.co
m:
Hi all!

I'm having a bit of an issue making a self join in access (similar
to the example explained on Allen Browne's excellent site -
http://allenbrowne.com/ser-06.html).

I've made the self join in the query window, however when I've
tried to run the query i get the message "table t1 opened
exclusively by another user, or it is already open through the
user interface and cannot be manipulated programmatically"

Initially I thought it might be a corruption problem - but I
mocked up a similar self join in a brand new database, and still
get the same error.

I am using Access 2003.

Any help appreciated.

Regards
Darragh
Have you set Record locking to "all records"?

--
Bob Quintal

PA is y I've altered my email address.

--
Posted via a free Usenet account from http://www.teranews.com

Feb 18 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.