How to find features if we know the values of two fields?

3738
1
Jump to solution
01-30-2015 05:29 AM
AnatoliiTerentiev
Occasional Contributor III

Dear Gurus!

Do I understand correctly that the findTask allows to find all the features, in which any of the fields in specified  list contains the specified text? Is there a way to get features in which one field contains text1 and the second field contains text2?

0 Kudos
1 Solution

Accepted Solutions
DominiqueBroux
Esri Frequent Contributor

Yes you are right.

A soon as you want to address specific fields you need to query the layers by using a QueryTask. The query 'where' property allows you to set a SQL where clause.

View solution in original post

1 Reply
DominiqueBroux
Esri Frequent Contributor

Yes you are right.

A soon as you want to address specific fields you need to query the layers by using a QueryTask. The query 'where' property allows you to set a SQL where clause.