Hi everybody!
strSQL = "UPDATE Tools SET Description = '" & tool_desc & "', Price = '" & tool_price & "', Bought = '" & tool_bought & "', Company = '" & comp_name & "' WHERE ToolID = '" & tool_id & "';"
cnSQL.Execute strSQL
I try to execute this and always get the same error
"To few parameters expected 2"
Im trying to UPDATE an Access 2000 database using VB6.
Why is this happening as far as I can see the code is fine.
Thanks!
strSQL = "UPDATE Tools SET Description = '" & tool_desc & "', Price = '" & tool_price & "', Bought = '" & tool_bought & "', Company = '" & comp_name & "' WHERE ToolID = '" & tool_id & "';"
cnSQL.Execute strSQL
I try to execute this and always get the same error
"To few parameters expected 2"
Im trying to UPDATE an Access 2000 database using VB6.
Why is this happening as far as I can see the code is fine.
Thanks!