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
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
574 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
  • 5
6 Comments
 
LVL 84
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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

809 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