Solved

simultaneous use of database

Posted on 2006-06-15
6
377 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
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

759 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now