473,396 Members | 1,990 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Running two queries concurrently on linked tables

Hi all,

we got here one database which has several linked tables, whereas the
link points to several csv-files. Currently we also have 2 different
queries using the linked tables. Now one of us is opening query 1 and
the other one is trying to open query 2 after query 1 was opened. But
opening query 2 (from a different computer) is not allowed and gives
the following error message:

"The Microsoft Jet database engine cannot open the file 'query 1'. It
is already opened exclusively by another user, or you need permission
to view its data."

We are not even openening the same query! I can hardly believe that you
cannot run two different queries at one time! Are there any options we
have to set?

System: Win 2003 Server
Access Version 2003

thanks in advance for any help and hints
Florian

Jun 20 '06 #1
6 2471
Split your database and create separate frontends for each user. Make sure
that the Default record locking is set to Edited records on your backend.
One of the main "rules" of a multiuser Access implementation is an mdb for
each user. To find out how to split your db type split in the Access help.

fa**********@gmx.de wrote:
Hi all,

we got here one database which has several linked tables, whereas the
link points to several csv-files. Currently we also have 2 different
queries using the linked tables. Now one of us is opening query 1 and
the other one is trying to open query 2 after query 1 was opened. But
opening query 2 (from a different computer) is not allowed and gives
the following error message:

"The Microsoft Jet database engine cannot open the file 'query 1'. It
is already opened exclusively by another user, or you need permission
to view its data."

We are not even openening the same query! I can hardly believe that you
cannot run two different queries at one time! Are there any options we
have to set?

System: Win 2003 Server
Access Version 2003

thanks in advance for any help and hints
Florian


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200606/1
Jun 20 '06 #2
jahoobob via AccessMonster.com wrote:
Split your database and create separate frontends for each user.
I doubt that has much to do with anything regarding the OPs problem.

Make sure that the Default record locking is set to Edited records on your backend.
One of the main "rules" of a multiuser Access implementation is an mdb for
each user. To find out how to split your db type split in the Access help.
We have no idea if someone has /excl on the shortcut. We have no idea
of the queries are using multiple CSVs. We have no idea what the
attributes/properties are on the CSVs or folder. We have no idea if the
mdb is already split or not. We don't know if this is an Action query
or a Select statement. We don't even know why they guy is getting a
message about query1 when he's opening query2. Maybe "WITH OWNERACCESS
OPTION" needs to be added to the SQL statement. I think its something
more than splitting the mdb.

fa**********@gmx.de wrote:
Hi all,

we got here one database which has several linked tables, whereas the
link points to several csv-files. Currently we also have 2 different
queries using the linked tables. Now one of us is opening query 1 and
the other one is trying to open query 2 after query 1 was opened. But
opening query 2 (from a different computer) is not allowed and gives
the following error message:

"The Microsoft Jet database engine cannot open the file 'query 1'. It
is already opened exclusively by another user, or you need permission
to view its data."

We are not even openening the same query! I can hardly believe that you
cannot run two different queries at one time! Are there any options we
have to set?

System: Win 2003 Server
Access Version 2003

thanks in advance for any help and hints
Florian


Jun 20 '06 #3
You're asking for locking problems when more than one user tries to access a
single mdb! Why not go ahead and split?

salad wrote:
Split your database and create separate frontends for each user.


I doubt that has much to do with anything regarding the OPs problem.

Make sure
that the Default record locking is set to Edited records on your backend.
One of the main "rules" of a multiuser Access implementation is an mdb for
each user. To find out how to split your db type split in the Access help.


We have no idea if someone has /excl on the shortcut. We have no idea
of the queries are using multiple CSVs. We have no idea what the
attributes/properties are on the CSVs or folder. We have no idea if the
mdb is already split or not. We don't know if this is an Action query
or a Select statement. We don't even know why they guy is getting a
message about query1 when he's opening query2. Maybe "WITH OWNERACCESS
OPTION" needs to be added to the SQL statement. I think its something
more than splitting the mdb.
Hi all,
[quoted text clipped - 18 lines]thanks in advance for any help and hints
Florian


--
Message posted via http://www.accessmonster.com
Jun 20 '06 #4
jahoobob via AccessMonster.com wrote:
You're asking for locking problems when more than one user tries to access a
single mdb! Why not go ahead and split?


What if it is already split?
Jun 20 '06 #5
"jahoobob via AccessMonster.com" <u12179@uwe> wrote in
news:6210fc7d16dd4@uwe:
You're asking for locking problems when more than one user
tries to access a single mdb! Why not go ahead and split?

Absolute rubbish. If the application is properly designed, and the
table locking parameters are correctly set to shared and current
record only, there should be no problem when linking a .mdb to
another .mdb

The original poster's problem is that he's got linked .csv files.
Access has no mechanism for locking records in a .csv file so it
locks the whole file. Access won't even let one user open two
instances of a .csv in the same query.
--
Bob Quintal

PA is y I've altered my email address.

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

Jun 20 '06 #6
fa**********@gmx.de wrote in
news:11**********************@p79g2000cwp.googlegr oups.com:
Hi all,

we got here one database which has several linked tables,
whereas the link points to several csv-files. Currently we
also have 2 different queries using the linked tables. Now one
of us is opening query 1 and the other one is trying to open
query 2 after query 1 was opened. But opening query 2 (from a
different computer) is not allowed and gives the following
error message:

"The Microsoft Jet database engine cannot open the file 'query
1'. It is already opened exclusively by another user, or you
need permission to view its data."

We are not even openening the same query! I can hardly believe
that you cannot run two different queries at one time! Are
there any options we have to set?

Even the same user cannot open the two queries on the same
machine at the same time, if they point to .csv files.

Import your tables to a back end .mdb and the problem will go
away. You'll also have much improved performance.
System: Win 2003 Server
Access Version 2003

thanks in advance for any help and hints
Florian


--
Bob Quintal

PA is y I've altered my email address.

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

Jun 20 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Andreas Lauffer | last post by:
I changed from Access97 to AccessXP and I have immense performance problems. Details: - Access XP MDB with Jet 4.0 ( no ADP-Project ) - Linked Tables to SQL-Server 2000 over ODBC I used...
1
by: John E | last post by:
I have an Access 2000 database in which there are remotely linked SQL tables and a couple of local tables. If I have queries in Access that are designed to pass data between these remote linked...
1
by: Aaron | last post by:
Hello fellow programmers, I am trying to run an append/update query from code, a command button on a form initiates the queries. the format i am using is; ...
1
by: Stinky Pete | last post by:
Hi, I've got two users needing to look at the same database, but both are running differnent versions of access. One is running running Win 98 / Access 97 and the other is running Win XP /...
2
by: Jim S | last post by:
To my surprise and chagrin, newer versions of Access have disabled the functionality that lets users change the data in linked tables that point to a range in an Excel workbook. This is "because of...
14
by: google | last post by:
I am creating a new database for use within our company, that I'd like to make reasonably secure (short of a true server based solution). The back-end of a non-server based database seems to be...
3
by: Janelle.Dunlap | last post by:
I have a table in my database that is linked to an excel spreadsheet. I need to be able to manipulate the data in this linked table so that I can create smaller normalized tables that work with...
2
by: Chandan Ahuja | last post by:
Hello , I use MFC DAO classes to access my MS access database . I am using some linked tables(Linked to Oracle) in my MS Access database . Also i have some queries in my databse ,...
3
by: nimajneb via AccessMonster.com | last post by:
Can anyone offer me any insight on the following problem? I have an Access database on a company shared drive. I'm the designer and the only user (so far). Suddenly, any time I try to open a...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.