Solved

simultaneous use of database

Posted on 2006-06-15
6
381 Views
Last Modified: 2009-12-17
I have a database that is used by 10 people.  Every time there are simultaneous use on the form (2 users using the form at the same time---either viewing or entering data) I got a message if I want to keep existing changes.  How can I get rid of this message?  I don't understand why message pops-up if users only view the data using the form.
2) Database located on network.  Is there a way to create a copy of the database on each machine so one user don't cause work delay of second user.  However, I have to make sure that all users see any entry or updates right away.
Thanks







0
Comment
Question by:maximyshka
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 34

Assisted Solution

by:jefftwilley
jefftwilley earned 200 total points
ID: 16917207
0
 

Author Comment

by:maximyshka
ID: 16917248
<<What it means is that the records on the data page that hold the record being changed are locked only when  a record is being SAVED.  If a second user tries to save changes to the same record at the same time he/she will get a warning message that the record has been changed by another user since they retrieved it from the database.>>

Thanks, however, I got this message when I and other user only view the data, not save.
0
 
LVL 84

Assisted Solution

by:Scott McDaniel (Microsoft Access MVP - EE MVE )
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 100 total points
ID: 16919203
In short - no, you really cannot have a standalone copy on each user's desktop AND have full concurrency ... while I'm sure we could kludge a solution for you, it would be a maintenance nightmare.

What EXACTLY is the message? Is this the "Another user has changed the data blah blah" message, or some other message? It's best if you can provide us with the exact error text and an error number ... as well as your Access version.

Have you split your database? If not, you should do so (you can use the database splitter wizard to do this) and then deploy the "frontend" to each user. Each frontend would then connect to the same backend. Make sure to provide each user with read/write/create/delete permissions on the folder housing your backend (the data tables). Splitting the db may solve your problem.

0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
LVL 77

Assisted Solution

by:peter57r
peter57r earned 100 total points
ID: 16919211
Hi maximyshka,
Whatever you think is happening, Access is detecting a change to the record being 'viewed'. This might mean that there is some code running in the Form_Current event which updates a field somewhere

Pete
0
 
LVL 34

Accepted Solution

by:
jefftwilley earned 200 total points
ID: 16919830
Any company or group using Access has this same issue. There are ways around it. You have the option to create instances of your data to present to your user, and deal with each instance using transactional updates. You have the option to set up table locking during this transaction so that any changes made by your user are more or less guaranteed to be written to the table. Take a minute and do some research on this method if you aren't familiar with it and if you feel this is the way for you to go, then we'll be more than happy to help you.
J
0
 
LVL 26

Assisted Solution

by:dannywareham
dannywareham earned 100 total points
ID: 16929240
I've seen this message before. It tends to happen when you are accessing the same database file.
Splitting (as Scott mentioned) should sort it out; unless you are altering a record when you open the form.

If the form is read-only, I'd suggest not using the table as the recordsource.
Instead, use a query or create a recordsetclone.
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question