I need to spend more argument for the same column. Is it possible to do it like this
On jrdc2 server
Can I do this?
B4X:
Dim item1 as string="ok"
Dim ManyItem as string=" and ("
For x=0 to myListItem2.size - 1
if x=0 then
ManyItem = ManyItem " item2=" & item2myListItem2.get(x)
else
ManyItem = ManyItem " or item2=" & item2myListItem2.get(x)
end if
next
ManyItem = ManyItem & ")"
Dim cmd As DBCommand = CreateCommand("select_mytable", Array(item1)
On jrdc2 server
B4X:
sql.select_mytable= select * from table where item1 = ? ? order by item3
Can I do this?