473,466 Members | 1,307 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Multiple Users - database locking

111 New Member
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 users are doing the same duty, the database locks and gives an error stating "cannot update record - record currently locked". I have the forms set as DataEntry, thinking that it would always go to a new record and prevent that error, but its still happening.

How do i properly handle multiple users?
Feb 12 '08 #1
3 2446
mshmyob
904 Recognized Expert Contributor
Programming for multi users is a big topic. But it sounds like you have Pessimistic locking on. You may want to turn on Optimisstic locking.

Under Options you can set your record locking settings.

Also check the Record Lock setting on your form. Set it to No Locks.

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 users are doing the same duty, the database locks and gives an error stating "cannot update record - record currently locked". I have the forms set as DataEntry, thinking that it would always go to a new record and prevent that error, but its still happening.

How do i properly handle multiple users?
Feb 12 '08 #2
Neekos
111 New Member
i have the record locking set to "no locks". I also have the database split - forms on their computers, tables on the server.

Where do i change optomistic/pessimistic locks? or is that the same as the "no locks" option?

It worked fine yesterday - this morning i came in and they said it locked up on them again.

Any ideas?
Feb 14 '08 #3
mshmyob
904 Recognized Expert Contributor
What version of Access are you using?

i have the record locking set to "no locks". I also have the database split - forms on their computers, tables on the server.

Where do i change optomistic/pessimistic locks? or is that the same as the "no locks" option?

It worked fine yesterday - this morning i came in and they said it locked up on them again.

Any ideas?
Feb 14 '08 #4

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: oldandgrey | last post by:
I'm looking at producing an application that will allow multiple users to order multiple items/ parts from what would effectively be an online store. These users could be ordering several hundred...
1
by: intl04 | last post by:
Are there any problems with multiple user access to the same Access database on a shared network drive? I have 'shared' chosen for 'default open mode'. As for the record locking properties, I...
12
by: Berj | last post by:
i have a novice question. is Access multi-user? can multiple users access the same database?
4
by: Jim M | last post by:
Two questions: 1) I have a scheduling application (Access 2002) that allows multiple staff members to edit notes on their meetings and appointments from their offices. A receptionist views a...
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: Andrea | last post by:
Suppose a base class like partial class X : Page ... and a class A that is called from class X somewhere along the code. I'm not able to understand if for each user connected to the web...
1
by: Matt Adamson | last post by:
Guys, We have an issue where we need to control access to specific web pages e.g. if one user is editing a purchase requisition another user shouldn't be able to perform any actions on it. I...
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
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
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.