473,396 Members | 2,029 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.

Multiple Users locking DB when running DB2 Queries.

42
I have created an Access DB using 2003 version, split the DB with Front End and Back End. I placed the Front End on Network Shared folder also. However, the users of the DB are using versions 2003, 2007 and 2010, everyday someone locks the database when running the queiries that access DB2 Table to perform the Access Make Table queries.
Aug 14 '13 #1
6 1798
Rabbit
12,516 Expert Mod 8TB
If you're just reading the data and not making changes to the data, then you can either set the currentdata option to no or use a read only view.

If however you are modifying the DB2 data or need the most current data, then you have no choice. The table must be locked to read the correct data.
Aug 14 '13 #2
Bre035
42
The DB2 queries are retrieving data from DB2 Tables, but populating a Access table. The queries are Make table queries.
Aug 14 '13 #3
jimatqsi
1,271 Expert 1GB
Everyone should have their own copy of the front-end. Do not share it like that for running over the network. Have everyone copy the front-end to their own machine.
Aug 14 '13 #4
Rabbit
12,516 Expert Mod 8TB
The DB2 queries are retrieving data from DB2 Tables, but populating a Access table. The queries are Make table queries.
Then you can use the options I laid out in my first paragraph.
Aug 14 '13 #5
jimatqsi
1,271 Expert 1GB
If the queries are populating Access tables that need to be shared with other users, then you have to make the tables in either the DB2 database or another Access database that is accessible to everyone on the network - just like the DB2 is. The properties of a query allow you to specify what database the make table should be in. They output of a Make table query does not have to be the local Access database.

In the query editor, click on the top part of the screen and look at the properties for that query. You'll see where you can specify the target database.

The front-end should have programs (forms, queries, modules) and local tables only. Trying to have everybody in the same copy of the front-end will give you exactly the problem you are reporting.

Jim
Aug 14 '13 #6
jimatqsi
1,271 Expert 1GB
Maybe those output tables don't have to be shared. Why would multiple people need to create the same table. They would obviously overwrite each other's work.

If you're not going to use local tables for that, maybe you should be using an append query instead of a make table query.

Jim
Aug 14 '13 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: DarthMacgyver | last post by:
Hello, I recently wrote a survey application. Each question is very similar. The first questions gives me a problem when there are multiple people taking the survey (The Database connection...
1
by: Jeremy | last post by:
I have built a form that calls queries. I have the first 2 set up as select queries, and the third set up as a make table query. When multiple users are on this application at the same time, they...
5
by: PeteCresswell | last post by:
Access tends to take over my machine when I run long queries. The queries in question are Append queries. Some of the jobs we're talking about run 45 minutes to an hour...so the loss in...
12
by: Berj | last post by:
i have a novice question. is Access multi-user? can multiple users access the same database?
3
by: Deano | last post by:
i.e the best way to have multiple validated users on the system who can then access the back-end? Or is it just as easy to write your own user management and login form and base your code on that?...
3
by: Tc | last post by:
Hi, I was curious, I am thinking of writing an application that loads a dataset from a database that resides on a server. The question I have is this, if multiple copies of the app will be...
6
by: mark | last post by:
I have an asp.net ecommerce web application on a remote web server. I'm using an Access database on the back end. I've notice a few strange things. When I mimic an multiple user environment by...
2
by: RA | last post by:
If a web page is being used by multiple users. A user changes one item, which is saved in a dataset and also in database on SQL Server. Now other user tries to change the same item; then show him a...
3
by: clarencelai | last post by:
Hi.. I have created a MAKE TABLE query. Every time I run this query, I will be cautioned that the table exists (which I know) and will be deleted if I proceed. After clicking "YES", I will...
3
by: Neekos | last post by:
I have a database that uses a combobox as the main screen. employees choose the duty they are working on from the combo box, which in turn opens the related form for each duty. Occasionally, when...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.