execnonquery2

  1. L

    B4J Question ExecNonQuery2 and Smart String Literals

    Hi all, I need to update records in a database with ExecNonQuery2. But the values in the array need to be enclosed in quotes. My query: sql.ExecNonQuery2("UPDATE parts SET PartID = ? WHERE PartID = ?",Array("'" & row(1) & "'", "'" & row(0) & "'")) '<-- this doesn't work The query should look...
Top