I want to sellect thinks from A,B,C,D,E but only if Z = "yes" in the db
So A also corresponded with what I look but because z = "no", I do not want it
I use the code below but it does not work.
So A also corresponded with what I look but because z = "no", I do not want it
I use the code below but it does not work.
B4X:
oRst = SQL.ExecQuery2("SELECT * FROM visit WHERE wijk = ? OR wijk = ? OR wijk = ? OR wijk = ? OR wijk = ? AND Z = ?", Array As String (A, B, C, D, E, "yes"))