<?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 Re: Automation Exception while using the order by clause with the query filter in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/automation-exception-while-using-the-order-by/m-p/481876#M13047</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Use the IQueryFilterDefinition interface to set the ORDER BY clause.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jun 2013 12:03:53 GMT</pubDate>
    <dc:creator>NeilClemmons</dc:creator>
    <dc:date>2013-06-11T12:03:53Z</dc:date>
    <item>
      <title>Automation Exception while using the order by clause with the query filter</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/automation-exception-while-using-the-order-by/m-p/481875#M13046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can any one please help me in resolving the issue with the query filter which I am getting when trying the query with order by clause.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW, I am working using the ArcObjects API for Java.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am getting the following Automation Exception: Item Not Found in this Collection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the query to the queryfilter&amp;nbsp; like as follows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;String query = ST_ID in (234,456) order by ST_ID asc&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IQueryFilter&amp;nbsp; queryFilter = new QueryFilter();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;queryFilter.setWhereClause(query);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am getting the above mentioned AutomationException.Can anyone please help me in resolving the issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually I do have a doubt like does the order by clause is supported in ArcObjects?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in Advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 10:01:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/automation-exception-while-using-the-order-by/m-p/481875#M13046</guid>
      <dc:creator>pavan_kumarmuttigi</dc:creator>
      <dc:date>2013-06-11T10:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Automation Exception while using the order by clause with the query filter</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/automation-exception-while-using-the-order-by/m-p/481876#M13047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Use the IQueryFilterDefinition interface to set the ORDER BY clause.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 12:03:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/automation-exception-while-using-the-order-by/m-p/481876#M13047</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2013-06-11T12:03:53Z</dc:date>
    </item>
  </channel>
</rss>

