I have a simple query like
query.where = "NAME = 'Renfrew'";
which works perfectly on QueryTask(). Now I would like to select array of points like
query.where = "NAME = 'Central Branch' AND NAME = 'Renfrew'";
but it is not working. Can you please let me know how to fix this? thanks
Solved! Go to Solution.
Behrouz,
The where string should look like:
query.where = "NAME = 'Central Branch' OR NAME = 'Renfrew'";
or
query.where = "NAME IN ('Central Branch','Renfrew')";
Behrouz,
The where string should look like:
query.where = "NAME = 'Central Branch' OR NAME = 'Renfrew'";
or
query.where = "NAME IN ('Central Branch','Renfrew')";
Thanks Robert