To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=49786 Issue #:|49786 Summary:|updateString doesn't work with MySQL Component:|api Version:|680m104 Platform:|PC URL:| OS/Version:|Windows XP Status:|UNCONFIRMED Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|code Assigned to:|sw Reported by:|georgsalvenmoser
------- Additional comments from [EMAIL PROTECTED] Tue May 24 07:00:19 -0700 2005 ------- I have a MySQL DB 4.1 (or 5.04) connect it with JDBC 3.1.7 to OOo1.9.104 (or OOo1.1.4) on WinXP Home When I make and updatable ResultSet I can write Data to the DB with updateBoolean and updateDouble but when I try to write Data to an Varchar with updateString it dosn't work. When I try it with dBase it works. Here my Macro: Sub Main Dim DatenbankKontext as Object Dim Datenquelle as Object Dim Verbindung as Object Dim Statement as Object Dim Resultset as Object DatenbankKontext = createUnoService("com.sun.star.sdb.DatabaseContext") Datenquelle = DatenbankKontext.getByName("Test") Verbindung = Datenquelle.getConnection( "", "" ) Statement = Verbindung.createStatement() Statement.ResultSetConcurrency = 1008 Resultset = Statement.executeQuery("SELECT * FROM bestart") Resultset.next() Resultset.updateString (6, "Test") Resultset.updateDouble (13, 856) Resultset.updateRow() msgbox Resultset.getString (6) Resultset.close() Statement.close() Verbindung.close() End Sub Thanks Georg Salvenmoser PS.: I couldn't find where I can attach the sample document. If it is useful I can send them with E-Mail. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]