473,396 Members | 1,814 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.

Network record locking

vs2k8
13
Hello guys,

I am using my application on shared network, can anyone tell me what properties I have to set that someone has opened the application is notified that this userid is using the application, and it can be opened in read mode only.(It works for Excel why it doesn't work for access 2003)

I tried in option setting ,Default record locking to Edited record and All records also but none work.So I am guessing I am not on right path, so can anyone help me please.

Thanks in advance

-Vs
Jul 29 '08 #1
1 1412
Stewart Ross
2,545 Expert Mod 2GB
Hi Vs, and welcome to Bytes. Database applications are inherently multi-user, which Excel applications are not. Excel does not allow users to open the same worksheet simultaneously - which is why when two users try to do so one of them is locked out and gets the message about opening a read-only copy.

I think that looking at databases in an Excel-ish, one-user-at-a-time way does not assist you in coming to grips with the fundamentally different approach of any relational database, which is inherently a shared application.

Record locking is really nothing to do with shared data access. It relates to what happens when data is edited. The default in Access is to use no locks - in other words, records can be edited by different users without locking (preventing others from editing) the records concerned. The "lock all" record locking you have set simply prevents any other user from editing a record once any user starts to edit a record - it does not in any way provide just read-only access to the data.

Access does provide user-level security and access rights control, but setting up user rights is a fairly complex process, and in the circumstances I do not know if this is the right approach for your needs. Anyway, it is possible to grant access rights to users, but these are not of the 'open a read only copy' variety - user rights apply across the board and determine what they can and cannot see, and what they can and cannot edit, in the database, according to the rights assigned for the user group to which they belong.

-Stewart
Aug 3 '08 #2

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

Similar topics

1
by: Fardude | last post by:
ACCESS 97, Pessimistic Record Locking!??? Does Access 97 allow record level Pessimistic locking? In other words, when user A is editing a record (has it locked) and User B tries to edit it...
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...
1
by: jv | last post by:
Hello, I'm using A2K and am trying to make sure that my program only locks one record at a time and I don't seem to have any luck getting that to happen. In the database options, I've selected...
1
by: wheel | last post by:
I have been ok with optimistic locking most of the time but I have a situation now where there is more of a chance that users could try to edit a record at the same time. I'd like to use pessimitic...
2
by: GGerard | last post by:
Hello I have just started using an application on a network(LAN) with multiple users I have the front end installed on different computers and the back end (data) installed on the host...
22
by: RayPower | last post by:
I'm having problem with using DAO recordset to append record into a table and subsequent code to update other tables in a transaction. The MDB is Access 2000 with the latest service pack of JET 4....
0
by: Cindy Huyser | last post by:
I have an Access 2000 database behind a threaded Java application that that can have have concurrent access to the same table (but not the same record). The database is set up for shared access...
1
by: Paul H | last post by:
I have an Employees table with the following fields: EmployeeID SupervisorID Fred Bob Bob John Bob Mary Bill Bill I have created a self join in...
19
by: emanning | last post by:
Using Access 2003 and using a form that's mostly bound. I need a way to tell if user-1 is on the record when user-2 tries to open the same record, w/o waiting for the user-1 to save the record...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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,...

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.