<?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: Attribute Query using Model Builder in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/attribute-query-using-model-builder/m-p/871629#M2871</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There will be only one condition mentioned above (between) and the same operators will be used. So I don't want user to select all those options. He will simply select field from a dropdown and in to boxes he will enter the value.&lt;/P&gt;&lt;P&gt;Please refer to pic below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/221377_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Sep 2016 03:01:52 GMT</pubDate>
    <dc:creator>akshayloya</dc:creator>
    <dc:date>2016-09-07T03:01:52Z</dc:date>
    <item>
      <title>Attribute Query using Model Builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/attribute-query-using-model-builder/m-p/871627#M2869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create model in arcmap using model builder for select by attribute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) I want to create a dropdown list for columns fields of the selected feature class&lt;/P&gt;&lt;P&gt;2) Write a dynamic sql expression as in:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;a) User will select column name from the drop down.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;b) User enters a value in a value box&lt;/P&gt;&lt;P&gt;&amp;nbsp; c) At a back end, SQL query is made based on above selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Select Features from School feature class having &lt;SPAN style="color: #242729; background-color: #eff0f1; font-weight: normal; font-size: 13.3333px;"&gt;objectid &amp;gt;= 6 AND objectid &amp;lt;=&amp;nbsp; 15.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is simply to make attribute query easy to use for the user. Any help will be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2016 17:38:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/attribute-query-using-model-builder/m-p/871627#M2869</guid>
      <dc:creator>akshayloya</dc:creator>
      <dc:date>2016-09-06T17:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Query using Model Builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/attribute-query-using-model-builder/m-p/871628#M2870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your example (&lt;SPAN style="color: #242729; background-color: #eff0f1;"&gt;objectid &amp;gt;= 6 AND objectid &amp;lt;=&amp;nbsp; 15&lt;/SPAN&gt;) illustrates the problem with using rigid dropdown lists to build SQL queries. It includes (or could include) multiple fields, operators, and a condition. You could make dropdowns for all of those, but how is that any better than the out-of-the-box query builder within the Select Layer By Attribute tool?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2016 17:47:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/attribute-query-using-model-builder/m-p/871628#M2870</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2016-09-06T17:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Query using Model Builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/attribute-query-using-model-builder/m-p/871629#M2871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There will be only one condition mentioned above (between) and the same operators will be used. So I don't want user to select all those options. He will simply select field from a dropdown and in to boxes he will enter the value.&lt;/P&gt;&lt;P&gt;Please refer to pic below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/221377_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 03:01:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/attribute-query-using-model-builder/m-p/871629#M2871</guid>
      <dc:creator>akshayloya</dc:creator>
      <dc:date>2016-09-07T03:01:52Z</dc:date>
    </item>
  </channel>
</rss>

