if non parametrised this works but how do I get it to work in parametrised version please.
I get error java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
I get error java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
Non Parametrised:
Dim cmrs As ResultSet = Main.sql1.ExecQuery($"SELECT * FROM Vehicles WHERE Model LIKE '%${data}%' order by Model"$
Parametrised:
Dim cmrs As ResultSet = Main.sql1.ExecQuery2($"SELECT * FROM Vehicles WHERE Model LIKE '%?%' order by Model"$, Array As String(data))