Bug #3855 | can't update varchar field through an ADO recordset | ||
---|---|---|---|
Submitted: | 22 May 2004 2:59 | Modified: | 11 Feb 2005 19:21 |
Reporter: | Adrian Sandor | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / ODBC | Severity: | S2 (Serious) |
Version: | 3.51.07 | OS: | Windows (Windows XP) |
Assigned to: | Peter Harvey | CPU Architecture: | Any |
[22 May 2004 2:59]
Adrian Sandor
[9 Aug 2004 22:06]
Mark Matthews
Please test with 3.51.08 or .09, and if still fails, attach testcase to this bug report.
[23 Aug 2004 10:55]
Adrian Sandor
I tested with 3.51.09 and there is no difference. The test case is identical, is there any other information you need? (And btw, why don't you test it on your side?)
[29 Oct 2004 10:43]
Salvador Costa
I have solved a similar problem adding in the options "Don't optimize columns Width" value=1 Now my VB program with ADO(2.8) and myODBC(3.51.09) work fine with edit and update all the fields.
[6 Nov 2004 23:01]
Heimo Tarmann
I have this problem too: > Microsoft OLE DB Provider for ODBC Drivers error '80040e21' Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done I am using mysql 4.1.7 and ODBC 3.51.10 in a windows 2003 environment. It is strange, because it works in another application, but not in everyone. Has somebaody still a solution?
[7 Nov 2004 15:06]
Heimo Tarmann
I 've found the solution in a forum and have added "Option = 3" to my connection String and now it works. -> cApplication="ODBC database; Option = 3" Conn.Open "DSN="&cApplication
[8 Nov 2004 13:49]
Adrian Sandor
Thanks guys for the input :) I remember that I knew (some long time ago) that I had to select the 2 options "Don't Optimize Column Widths" and "Return Matching Rows" when creating the DSN. However, when I tested (before submitting the bug), somehow it didn't work, and I removed them. So I decided to try again now; I selected those options and tried modifying a field - same error. BUT after restarting the MySQL and w3svc services, it worked! (amazing...) When I saw that "Option = 3" suggestion, I was intrigued and I tried to find out what it does. And I found http://www.dwam.net/mysql/asp_myodbc.asp which shows that "Option = 3" is the same thing as selecting the two checkboxes I mentioned above! Well, I'm glad we sorted out this problem :) Now I can think about doing more advanced things with ADO and MySQL. I'm not sure if it still qualifies as a bug; if not then moderators feel free to close it.
[11 Feb 2005 19:08]
Peter Harvey
Support - please consider Closing.