Solved

Write Conflic - This record bas been changed by another user since you started editing it. MySQL to Access 2007

Posted on 2011-02-28
6
585 Views
Last Modified: 2012-06-21
I am using Access 2007 on a Windows 7 64 bit pc.  
I have a table linked to a MySQL database on my website.
I am using the mysql-connector-odbc-5.1.8-winx64 to connect to the database.

I am able to make the connection and see the values.

If I try to make a change I get the following error:

Write Conflict
This record bas been changed by another user since you started editing it.  If you save the record, you will overwrite the changes the other user made.

Copying the changes to the clipboard will let you look at the values the other user entered, and then paste your changes back in if you decide to make changes.

Save record not available
Copy to Clipboard and Drop Changes are available

This was working until recently.

I can connect to the MySQL table and make changes from a copy of the database running on a XP computer and a copy running on Server 2003.  No problems.

I also created a new database with the only object being the linked table.  Same problem.

Any ideas.

Thanks

Steve
0
Comment
Question by:Scamquist
[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
  • 5
6 Comments
 
LVL 85
ID: 35003429
Often this errors comes about when you try to modify data through SQL/VBA while ALSO viewing/editing that data in a bound form. Are you doing this?

If so, then you must make changes in one place or the other, but not both (at least not at the same time). If you are using code to manipulate data that you are also working with on your form, be sure to force a save of your data by issuing this:

If Me.Dirty Then Me.Dirty = False

Even with this, you can still run into some timing issues which can result in this.

0
 
LVL 1

Author Comment

by:Scamquist
ID: 35003446
To see if it was a form issue, I created a new database with the only object being the linked table.

If I open the table, I cannot make a change to anything.

This is only on the 64 bit computer.

If I open Access 2007 and open the table on the XP or Server 2003 machine I can make changes to values in the table.

Go back to the 64 bit Windows 7 computer, open Access 2007 and open the table, the changes i made on the XP machine are there, but I still cannot change the table on the 64 bit computer.

0
 
LVL 1

Author Comment

by:Scamquist
ID: 35003472
As a further test.  I copied the Access 2007 database from the XP to the Win7 computer.  Deleted and re-linked the tables.

Same 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 1

Author Comment

by:Scamquist
ID: 35003510
Also, at the current time, there is only one user on the database.  The backend is on the local server.  The front end is on the local PC.

Another strange thing.  There are 11 tables linked to the same MySQL database.

I am able to make changes to values in 10 of the tables.

The one in question has a date/time stamp.  
0
 
LVL 1

Accepted Solution

by:
Scamquist earned 0 total points
ID: 35003967
There appears to have been a problem with the table on the MySQL databse.

I deleted the table and re-added it.

Everything is working now.  
0
 
LVL 1

Author Closing Comment

by:Scamquist
ID: 35042820
Withdraw because I solved the problem
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
In this blog post, we’ll look at how ClickHouse performs in a general analytical workload using the star schema benchmark test.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

705 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