<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Query.where problem in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-where-problem/m-p/719403#M15983</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a situation where I make a query dynamicly and the where clause can be quite long. This can work fine when testing on the server but when testing on client computers it throws a Fault for the where clauses that are generated that have above 10 OR statements. So if the user searches for an item that has &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bldg_Name = 'blah' OR Bldg_Name = 'bleh' OR Bldg_Name = 'blegh'...x10&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A Fault will be thrown on their computer but this issue will not happen on the server. Any help would be greatly appreciated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Smilie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Jul 2010 20:43:42 GMT</pubDate>
    <dc:creator>MichaelSmilie</dc:creator>
    <dc:date>2010-07-22T20:43:42Z</dc:date>
    <item>
      <title>Query.where problem</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-where-problem/m-p/719403#M15983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a situation where I make a query dynamicly and the where clause can be quite long. This can work fine when testing on the server but when testing on client computers it throws a Fault for the where clauses that are generated that have above 10 OR statements. So if the user searches for an item that has &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bldg_Name = 'blah' OR Bldg_Name = 'bleh' OR Bldg_Name = 'blegh'...x10&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A Fault will be thrown on their computer but this issue will not happen on the server. Any help would be greatly appreciated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Smilie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jul 2010 20:43:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-where-problem/m-p/719403#M15983</guid>
      <dc:creator>MichaelSmilie</dc:creator>
      <dc:date>2010-07-22T20:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Query.where problem</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-where-problem/m-p/719404#M15984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Smilie,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; If you are querying the same field i.e Bldg_Name than the better SQL Query would be&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bldg_Name IN (123,234,345,456,763,566,777,888,999)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jul 2010 21:17:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-where-problem/m-p/719404#M15984</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-07-22T21:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Query.where problem</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-where-problem/m-p/719405#M15985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Robert, this worked perfectly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 16:44:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-where-problem/m-p/719405#M15985</guid>
      <dc:creator>MichaelSmilie</dc:creator>
      <dc:date>2010-07-23T16:44:05Z</dc:date>
    </item>
  </channel>
</rss>

