i have made a test, i have packed both variants with each other, swapped them and you can always see "here2" in the log.
Dim DR As ResultSet = Main.content_sql.ExecQuery("SELECT * FROM dt_content WHERE id = " & c_id & ";")
Do While DR.NextRow
Log("here2")
Loop
DR.Close
Dim DR As ResultSet = Main.content_sql.ExecQuery2("SELECT * FROM dt_content WHERE id = ?;",Array As String(c_id))
Do While DR.NextRow
Log("here")
Loop
DR.Close
I don't understand it at all, I already spent 2 hours on Friday trying to find a solution. In a test program everything works perfectly.
In my case "dt_content" currently contains only one row, but the query should still work, no matter how many rows are in my table...