<?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: feature selection: Attribute query in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/feature-selection-attribute-query/m-p/696693#M18671</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Neil,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That single quote made the difference....( i missed that in my line of code)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for the info.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;have a nice day..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;shiva&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 May 2011 10:01:40 GMT</pubDate>
    <dc:creator>shivagugila</dc:creator>
    <dc:date>2011-05-24T10:01:40Z</dc:date>
    <item>
      <title>feature selection: Attribute query</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/feature-selection-attribute-query/m-p/696691#M18669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Greeting,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to select features using attribute query. Variable are referenced to listbox. Can anyone please let me why my whereclause is set to false and i am unable to select the features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;please ref the attached screenshot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; pqf.WhereClause = fieldname = fieldvalue&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp; is the expression i used to implement fieldname and fieldvalue as variables.Tried various options like using &amp;amp;, ", ( etc etc...but did not find a way to use both as variables(fieldname and fieldvalue).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks n regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;shiva&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2011 04:23:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/feature-selection-attribute-query/m-p/696691#M18669</guid>
      <dc:creator>shivagugila</dc:creator>
      <dc:date>2011-05-23T04:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: feature selection: Attribute query</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/feature-selection-attribute-query/m-p/696692#M18670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The WhereClause property expects a string, therefore you must set it using a string expression.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;queryFilter.WhereClause = fieldName &amp;amp; " = '" &amp;amp; stringValue &amp;amp; "'"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If the field isn't a text field then you must remove the single quotes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2011 13:04:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/feature-selection-attribute-query/m-p/696692#M18670</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2011-05-23T13:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: feature selection: Attribute query</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/feature-selection-attribute-query/m-p/696693#M18671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Neil,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That single quote made the difference....( i missed that in my line of code)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for the info.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;have a nice day..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;shiva&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 10:01:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/feature-selection-attribute-query/m-p/696693#M18671</guid>
      <dc:creator>shivagugila</dc:creator>
      <dc:date>2011-05-24T10:01:40Z</dc:date>
    </item>
  </channel>
</rss>

