Hi
if I use (2) LIKE 'jon%' then I get name start with jon
if I use (1) search from textbox I get all name start with j when I type jon I get to much like name start with jak
I am try to use query when I type the name
if I use (2) LIKE 'jon%' then I get name start with jon
if I use (1) search from textbox I get all name start with j when I type jon I get to much like name start with jak
I am try to use query when I type the name
B4X:
1.
db.QueryASync("select * from staff where name like '" & text & "%' AND status Like '" & active & "%' ORDER BY name Asc;", 3)
2.
db.QueryASync("Select * FROM staff WHERE name LIKE 'jon%' AND status Like '" & active & "%' ORDER BY name Asc;", 3)
Last edited: