Link to home
Start Free TrialLog in
Avatar of Scamquist
ScamquistFlag for United States of America

asked on

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

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
Avatar of Scott McDaniel (EE MVE )
Scott McDaniel (EE MVE )
Flag of United States of America image

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.

Avatar of Scamquist

ASKER

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.

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.  
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.  
ASKER CERTIFIED SOLUTION
Avatar of Scamquist
Scamquist
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Withdraw because I solved the problem