473,395 Members | 1,581 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Write Error with MySQL backend

34
Hi,

I'm creating a backend for my Access front end in MySQL, and am running tests. I am coming across the infamous "Write Error".

Here's an instance:
I open a form with a subform, and when I go to change a combo-box field, I get the Write Error. Once I click drop changes, I can go ahead and change the field without seeing the error again on any field on either the form or subform. I don't get the error when I change data in a field on the form itself, only when interacting with the subform (likewise, if I close the form or change to design mode, I get the write error).

I'm wondering maybe there's something I'm missing in my connection to MySQL, I am an absolute MySQL novice.

Thanks

Robin
Jan 10 '08 #1
3 2290
Dököll
2,364 Expert 2GB
Hi,

I'm creating a backend for my Access front end in MySQL, and am running tests. I am coming across the infamous "Write Error".

Here's an instance:
I open a form with a subform, and when I go to change a combo-box field, I get the Write Error. Once I click drop changes, I can go ahead and change the field without seeing the error again on any field on either the form or subform. I don't get the error when I change data in a field on the form itself, only when interacting with the subform (likewise, if I close the form or change to design mode, I get the write error).

I'm wondering maybe there's something I'm missing in my connection to MySQL, I am an absolute MySQL novice.

Thanks

Robin
Have you tried using a passthrough query to achieve this?

Not sure how helpful this is, but I once usedAccess to speak with SQL Advantage/Sybase using a passthrough query with no issues, you'd need the fancy connection string which I cannot tell you off hand, might find it if you were to search deeper here, or a quick Google:-)

Hope you find what you needed!

Dököll
Jan 11 '08 #2
RAG2007
34
Thanks,

I'm using pass through query for record source on main form now. But two issues came up:
1) OBDC--Failed
2) I can't set a subform record source to a pass-thru query

And I'm still getting the write error.
Jan 11 '08 #3
RAG2007
34
Wierd enough, I redid all of the links, starting from a backup front end in Access, and I no longer get the OBDC call failed, nor do I get all the write errors.

Now the only write errors I get are when in code I do an rst.update. Working on that now.

Robin


Thanks,

I'm using pass through query for record source on main form now. But two issues came up:
1) OBDC--Failed
2) I can't set a subform record source to a pass-thru query

And I'm still getting the write error.
Jan 11 '08 #4

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

Similar topics

0
by: Paul | last post by:
I have the following problem : I have been asked to redevelop a clients website which is written in PHP and uses MySQL as the backend. This site is on a remote server so there is only so much I...
0
by: David Emme | last post by:
Win XP Pro Access 97 MySQL 4.0.x I'm attempting to convert a number of apps to MySQL backends. Having converted the tables from the MDB backend, I'm running into a number of differences in...
115
by: TheAd | last post by:
At this moment I use MsAccess and i can build about every databound application i want. Who knows about a serious open source alternative? Because Windows will be a client platform for some time, i...
8
by: Brett | last post by:
I've been developing in CFMX with an SQL Server 2000 backend. For cost reasons, I want to switch to a different database. I'm also moving away from CFMX to ASP.NET. There are quite a few...
2
by: Ian Baker | last post by:
We have developed an Access/Jet database (2000, XP & 2003 versions) that has been used by clients all around the world for several years and is extremely robust with 55 tables, 172 hard stored...
15
by: Susan Baker | last post by:
Note: This is different from previous post. I am coming from a C/C++ background. I have a frontend (written in C#), my backend was originally meant to be a J2EE application with PostGreSQL. I am...
3
by: sp3d2orbit | last post by:
I've read the MySQL licensing material and what I've found online, but I'm still unclear about when I have to pay MySQL for a license. Scenario: I've created an application that stores some data...
0
by: John Kirkpatrick | last post by:
Hi all, I am having difficulty displaying records on a frontend MS Access 2000 form using a MySQL backend. The following code works well with the Jet database engine but doesn't work properly...
1
by: rajanji | last post by:
Hi All, Hw r u ???? Hope u all r doing gr8... Actually i have designed a website on jobportal in asp.net using sqlserver 2005 as a backend... and now m trying to convert its database to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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
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...

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.