473,490 Members | 2,703 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Can't update/delete MySql records from Access2003

2 New Member
I have a 600 record mysql db. It has a timestamp field, auto incr id field, several varchar fields and several smallint fields. The id field is set as primary key. The access03 has a form displaying most of the fields. It is the only table in the db. If I try to delete a record I get the msg "The doMenuItem was canceled" with no other explanation and the record is not deleted. If I try to update a record I get a msg "this record has been changed by another user since you started editing it..." and the save anyway option is grayed out. There is no one else using the db. A less important problem is the excessive time required to do a "find" in the file. 4 different locations will eventually be using this db.
Any help would be greatly appreciated, as I have spent the day with google without solving it!
Jan 11 '11 #1
2 1893
JKing
1,206 Recognized Expert Top Contributor
Sounds more like an issue with the VBA code that is running behind your form. I suggest taking a look at your VBA code, specifically the code that is onclick of the buttons you mentioned.

I can't suggest anything else without more information. Some code would be great to see.
Jan 12 '11 #2
ellenr
2 New Member
strangely enough, what finally fixed it was changing a timedate field to a varchar field. Works as it should now.
Jan 12 '11 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
3822
by: Reply via newsgroup | last post by:
Folks, When performing an update in mysql (using PHP), can I find out how many records were matched? mysql_affected_rows() won't work... and I have the following problem that I thought I...
1
3668
by: Google Mike | last post by:
I have one table of new records (tableA) that may already exist in tableB. I want to insert these records into tableB with insert if they don't already exist, or update any existing ones with new...
16
16972
by: Philip Boonzaaier | last post by:
I want to be able to generate SQL statements that will go through a list of data, effectively row by row, enquire on the database if this exists in the selected table- If it exists, then the colums...
2
4975
by: ms | last post by:
Access 2000: I am trying to delete duplicate records imported to a staging table leaving one of the duplicates to be imported into the live table. A unique record is based on a composite key of 3...
1
1973
by: A_StClaire_ | last post by:
hi all, I am using a GridView bound to an ObjectDataSource. edit and delete functionality has been enabled. my ObjectDataSource is tied to a TableAdapter that accesses three stored procedures...
3
2835
by: Bob Bedford | last post by:
hello I'm looking for some functions or objects allowing to select-insert-update-delete from any table in a mysql database without the need to create a new query every time. Example: ...
1
2437
by: ponvijaya | last post by:
I want to take back up of records in My MySql Database I want to convert the records into csv file and store in a location. If needed I want to import it to the same database.. I need to...
1
1980
by: aris1234 | last post by:
Hi.. How to Update multiple record ?? I have 3 file : (my code no have error) "tesupd.php" process to > "codetesupd.php" process to "update.php" in page "tesupd.php" have a checkbox for...
0
989
by: cathal670 | last post by:
Here is the link to a zip file containing my web site, database is in the database folder My Web Site To download it, type in the verification text, wait the 30 second delay and press the grey...
1
1105
by: ganesh22 | last post by:
Sir: My requirement is display the xml document in asp.net their user can add,update,delete.so based on my requirement i display the xmlfile in <iframe> control i want to edit and delete...
0
7112
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7146
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7183
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6852
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7356
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5448
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3074
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
628
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
277
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.