Solved

Mysql/Access ~ unable to update record because another user already did

Posted on 2004-09-17
4
211 Views
Last Modified: 2006-11-17
Hi, I got a database the link to Mysql. i'm very new at this and have encounter a problem that prevented me form venturing forward.
A "one to many" relationship between two tables (tbl_Ship,tbl_Shipjourney) link to a form with subform in access.

[tbl_ship] only have 1 primary key (ship_id:[ auto_increment]).
[tbl_shipjourney] has 2 (ship_id:int , route_id: [auto_increment]).

The problem is with the subform, it records the journey detail of a ship. Entering a new record worked perfectly but until i decided to correct some mistake in the subform. The funny thing is, only the first record of each ship (subform) is un-updatable. The rest is ok.

When i try to update the first record, MSaccess will pop up a dialog saying there is another user updating it.

Can anyone tell me how to fix this?

0
Comment
Question by:mysticaljoey
  • 2
4 Comments
 
LVL 7

Expert Comment

by:Jonathan Kelly
Comment Utility
try installing latest service packs for access and jet
0
 
LVL 41

Expert Comment

by:shanesuebsahakarn
Comment Utility
Do you have any code that is updating the record via SQL?

Also, are you using the latest version of the MySQL ODBC driver?
0
 
LVL 36

Accepted Solution

by:
SidFishes earned 250 total points
Comment Utility
Jet/access often don't like the precise timing schemes of sql server and mysql...sometimes adding and timestamp field to your tables and queries will clear up the problem
0
 
LVL 36

Expert Comment

by:SidFishes
Comment Utility
umm...can I ask why you gave this a grade of c??
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
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…
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.

762 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

13 Experts available now in Live!

Get 1:1 Help Now