Solved

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

Posted on 2004-09-17
4
242 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
ID: 12084179
try installing latest service packs for access and jet
0
 
LVL 41

Expert Comment

by:shanesuebsahakarn
ID: 12085233
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
ID: 12089213
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
ID: 12139852
umm...can I ask why you gave this a grade of c??
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
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.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

821 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