<?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 SQL syntax in query filter interface in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/sql-syntax-in-query-filter-interface/m-p/633974#M17089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks for reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but I tried this before and it writes me that it is not correct...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Apr 2010 06:41:16 GMT</pubDate>
    <dc:creator>RadekHýbner</dc:creator>
    <dc:date>2010-04-26T06:41:16Z</dc:date>
    <item>
      <title>SQL syntax in query filter interface</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/sql-syntax-in-query-filter-interface/m-p/633972#M17087</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;SPAN&gt;I am writing some tool in ArcGIS desktop 9.3 in VBA and I need to extract data in table by query filter interface.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have data in personal db and &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pQf.WhereClause = "TextString &amp;lt;&amp;gt; Null" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is OK. But when I have data in File db theres a problem. I know that there is syntax a little different... but I can not find correct version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Apr 2010 10:03:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/sql-syntax-in-query-filter-interface/m-p/633972#M17087</guid>
      <dc:creator>RadekHýbner</dc:creator>
      <dc:date>2010-04-25T10:03:40Z</dc:date>
    </item>
    <item>
      <title>SQL syntax in query filter interface</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/sql-syntax-in-query-filter-interface/m-p/633973#M17088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For File Geodatabase, you have to enquote field names with double quotes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Field" = 'Value'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;see: &lt;/SPAN&gt;&lt;A href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=SQL_reference"&gt;http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=SQL_reference&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards, Stefan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Apr 2010 04:19:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/sql-syntax-in-query-filter-interface/m-p/633973#M17088</guid>
      <dc:creator>StefanOffermann</dc:creator>
      <dc:date>2010-04-26T04:19:52Z</dc:date>
    </item>
    <item>
      <title>SQL syntax in query filter interface</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/sql-syntax-in-query-filter-interface/m-p/633974#M17089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks for reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but I tried this before and it writes me that it is not correct...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Apr 2010 06:41:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/sql-syntax-in-query-filter-interface/m-p/633974#M17089</guid>
      <dc:creator>RadekHýbner</dc:creator>
      <dc:date>2010-04-26T06:41:16Z</dc:date>
    </item>
    <item>
      <title>SQL syntax in query filter interface</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/sql-syntax-in-query-filter-interface/m-p/633975#M17090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Then you have an error in your code. The double quotes are the right way. I don't know the exact way in VBA to escape the double quotes, in C# I would write:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;pQf.WhereClause = "&lt;STRONG&gt;\"&lt;/STRONG&gt;FieldName&lt;STRONG&gt;\"&lt;/STRONG&gt; &amp;lt;&amp;gt; Null" &lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should check how to use &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;lt;&amp;gt;&lt;/PRE&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;Null&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;in VBA.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Apr 2010 07:03:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/sql-syntax-in-query-filter-interface/m-p/633975#M17090</guid>
      <dc:creator>StefanOffermann</dc:creator>
      <dc:date>2010-04-27T07:03:43Z</dc:date>
    </item>
    <item>
      <title>Query for NULL</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/sql-syntax-in-query-filter-interface/m-p/633976#M17091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use the following for either File or Personal geodatabase:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pQF.WhereClause = "YourFieldName IS NOT NULL"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Apr 2010 15:45:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/sql-syntax-in-query-filter-interface/m-p/633976#M17091</guid>
      <dc:creator>JohnHauck</dc:creator>
      <dc:date>2010-04-27T15:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: SQL syntax in query filter interface</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/sql-syntax-in-query-filter-interface/m-p/633977#M17092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;correct is &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pQF.WhereClause = "YourFieldName IS NOT NULL" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 May 2010 07:50:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/sql-syntax-in-query-filter-interface/m-p/633977#M17092</guid>
      <dc:creator>RadekHýbner</dc:creator>
      <dc:date>2010-05-07T07:50:07Z</dc:date>
    </item>
  </channel>
</rss>

