To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=115380 Issue #|115380 Summary|executeUpdate() does not work in OOo 3.3 RC3 Base Component|Database access Version|OOO330m13 Platform|Unknown URL| OS/Version|Windows Vista Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|none Assigned to|dbaneedsconfirm Reported by|jgsylvester
------- Additional comments from [email protected] Wed Nov 3 15:58:04 +0000 2010 ------- I receive the following error when executing an "executeUpdate()" statement: "BASIC runtime error. An exception occurred. Type: com.sun.star.sdbc.SQLException, message: executeUpdate() cannot be used with this statement." This occurs only on my Windows platform - not Linux. The executeUpdate() is used in a macro as follows: ' Create Context Database Service to ITEMS strDB="Inventory" strSQL1="SELECT * FROM ACTIVITY WHERE LINK_TO_ITEMS=" & ItemsID Context=CreateUnoService("com.sun.star.sdb.DatabaseContext") DB=Context.getbyname(strDB) Conn=DB.getconnection("","") stmt=Conn.createstatement() stmt.executeUpdate(strSQL1) --------------------------------------------------------------------- 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]
