<?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 Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/automation-exception-while-using-the-order-by/m-p/714149#M2161</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, I don't think you'll find an answer on this forum. The API's are not compatible or interchangeable. I noticed you've already posted the question on the right forum and gotten no answers, yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you look at this &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/71571-SQL-statements"&gt;post&lt;/A&gt;&lt;SPAN&gt; on the ArcObjects SDKs forum? This &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/78782-datetimepicker-query-dates-in-sql-server"&gt;post&lt;/A&gt;&lt;SPAN&gt; also mentions the use of the &lt;/SPAN&gt;&lt;A href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html#format(java.lang.String,%20java.lang.Object...)"&gt;String.Format&lt;/A&gt;&lt;SPAN&gt; method to avoid concatenation complexities.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Jun 2013 03:26:34 GMT</pubDate>
    <dc:creator>CarlosColón-Maldonado</dc:creator>
    <dc:date>2013-06-12T03:26:34Z</dc:date>
    <item>
      <title>Automation Exception while using the order by clause with the query filter</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/automation-exception-while-using-the-order-by/m-p/714148#M2160</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 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 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:02:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/automation-exception-while-using-the-order-by/m-p/714148#M2160</guid>
      <dc:creator>pavan_kumarmuttigi</dc:creator>
      <dc:date>2013-06-11T10:02:51Z</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/java-maps-sdk-questions/automation-exception-while-using-the-order-by/m-p/714149#M2161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, I don't think you'll find an answer on this forum. The API's are not compatible or interchangeable. I noticed you've already posted the question on the right forum and gotten no answers, yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you look at this &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/71571-SQL-statements"&gt;post&lt;/A&gt;&lt;SPAN&gt; on the ArcObjects SDKs forum? This &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/78782-datetimepicker-query-dates-in-sql-server"&gt;post&lt;/A&gt;&lt;SPAN&gt; also mentions the use of the &lt;/SPAN&gt;&lt;A href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html#format(java.lang.String,%20java.lang.Object...)"&gt;String.Format&lt;/A&gt;&lt;SPAN&gt; method to avoid concatenation complexities.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 03:26:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/automation-exception-while-using-the-order-by/m-p/714149#M2161</guid>
      <dc:creator>CarlosColón-Maldonado</dc:creator>
      <dc:date>2013-06-12T03:26:34Z</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/java-maps-sdk-questions/automation-exception-while-using-the-order-by/m-p/714150#M2162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Carlos Colón-Maldonado,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 06:45:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/automation-exception-while-using-the-order-by/m-p/714150#M2162</guid>
      <dc:creator>pavan_kumarmuttigi</dc:creator>
      <dc:date>2013-06-12T06:45:14Z</dc:date>
    </item>
  </channel>
</rss>

