<?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: Turn off a selected Label in SQL Query ? in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/turn-off-a-selected-label-in-sql-query/m-p/453963#M4974</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to put parentheses on the first expression before the OR and didn't work so &amp;nbsp;my expression wasn't right. So, that is why I move the FID &amp;lt;&amp;gt; 321 at the beginning of the expression and then insert the HWY_SYMBOL = 25 or HWY_SYMBOL = 70. after the AND.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Mar 2017 23:05:50 GMT</pubDate>
    <dc:creator>DEAF_PROBERT_68</dc:creator>
    <dc:date>2017-03-08T23:05:50Z</dc:date>
    <item>
      <title>Turn off a selected Label in SQL Query ?</title>
      <link>https://community.esri.com/t5/mapping-questions/turn-off-a-selected-label-in-sql-query/m-p/453959#M4970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on this Damn it Highways layer and I need to selected some labels for some of the highways. One of them I need to "turn it off" but it would not let me to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this map that I am working on and is for to put on the webpage later. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/336852_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;That label I-25 &amp;nbsp;I drew the red circle the lower right bottom of the map &amp;nbsp; in Southwestern Kansas I need that to turn off but leave the road on. It would not turn it off.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/336853_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;Why doesn't my SQL query not working ? &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 21:47:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/turn-off-a-selected-label-in-sql-query/m-p/453959#M4970</guid>
      <dc:creator>DEAF_PROBERT_68</dc:creator>
      <dc:date>2017-03-08T21:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Turn off a selected Label in SQL Query ?</title>
      <link>https://community.esri.com/t5/mapping-questions/turn-off-a-selected-label-in-sql-query/m-p/453960#M4971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I take it that feature you want to remove the label from is "FID" = 321?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 21:52:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/turn-off-a-selected-label-in-sql-query/m-p/453960#M4971</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2017-03-08T21:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Turn off a selected Label in SQL Query ?</title>
      <link>https://community.esri.com/t5/mapping-questions/turn-off-a-selected-label-in-sql-query/m-p/453961#M4972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After I posted it here, I played it around &amp;nbsp;a little bit and decide to flipped the expression like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"FID" &amp;lt;&amp;gt; 321 AND "HWY_SYMBOL" = '25' OR "HWY_SYMBOL" = '70'&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that worked ! That I-25 Label now disappear !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 22:11:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/turn-off-a-selected-label-in-sql-query/m-p/453961#M4972</guid>
      <dc:creator>DEAF_PROBERT_68</dc:creator>
      <dc:date>2017-03-08T22:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Turn off a selected Label in SQL Query ?</title>
      <link>https://community.esri.com/t5/mapping-questions/turn-off-a-selected-label-in-sql-query/m-p/453962#M4973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suspect it's just a matter of how the SQL interprets the grouping of your terms, which is why you should always force your grouping with parentheses. I suspect in your original attempt (&lt;SPAN style="background-color: #ffffff;"&gt;"HWY_SYMBOL" = '25' OR "HWY_SYMBOL" = '70' AND&amp;nbsp;&lt;SPAN&gt;"FID" &amp;lt;&amp;gt; 321&lt;/SPAN&gt;&lt;/SPAN&gt;), it was interpreted as:&lt;/P&gt;&lt;PRE class="line-numbers language-sql"&gt;&lt;CODE&gt;&lt;SPAN class="string token"&gt;"HWY_SYMBOL"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'25'&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;OR&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"HWY_SYMBOL"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'70'&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;AND&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"FID"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;321&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Since FID=321 is HWY_SYMBOL='25', all labels will show.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you could change your original to the following:&lt;/P&gt;&lt;PRE class="language-sql" style="color: #000000; background: #f5f2f0; margin: 0.5em 0px; padding: 1em 1em 1em 3.8em;"&gt;&lt;PRE class="line-numbers language-sql"&gt;&lt;CODE&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"HWY_SYMBOL"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'25'&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;OR&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"HWY_SYMBOL"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'70'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;AND&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"FID"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;321&lt;/SPAN&gt;‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/PRE&gt;&lt;P&gt;This will first filter the HWY_SYMBOL to either '25' or '70', and from those, remove FID=321.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 22:50:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/turn-off-a-selected-label-in-sql-query/m-p/453962#M4973</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2017-03-08T22:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Turn off a selected Label in SQL Query ?</title>
      <link>https://community.esri.com/t5/mapping-questions/turn-off-a-selected-label-in-sql-query/m-p/453963#M4974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to put parentheses on the first expression before the OR and didn't work so &amp;nbsp;my expression wasn't right. So, that is why I move the FID &amp;lt;&amp;gt; 321 at the beginning of the expression and then insert the HWY_SYMBOL = 25 or HWY_SYMBOL = 70. after the AND.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 23:05:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/turn-off-a-selected-label-in-sql-query/m-p/453963#M4974</guid>
      <dc:creator>DEAF_PROBERT_68</dc:creator>
      <dc:date>2017-03-08T23:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Turn off a selected Label in SQL Query ?</title>
      <link>https://community.esri.com/t5/mapping-questions/turn-off-a-selected-label-in-sql-query/m-p/453964#M4975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure that you have this values in the field?&lt;/P&gt;&lt;P&gt;could you identify the road before create the SQL expression to know what the value you need ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 20:08:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/turn-off-a-selected-label-in-sql-query/m-p/453964#M4975</guid>
      <dc:creator>AbdullahAnter</dc:creator>
      <dc:date>2017-03-09T20:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Turn off a selected Label in SQL Query ?</title>
      <link>https://community.esri.com/t5/mapping-questions/turn-off-a-selected-label-in-sql-query/m-p/453965#M4976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what you mean ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 21:04:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/turn-off-a-selected-label-in-sql-query/m-p/453965#M4976</guid>
      <dc:creator>DEAF_PROBERT_68</dc:creator>
      <dc:date>2017-03-09T21:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Turn off a selected Label in SQL Query ?</title>
      <link>https://community.esri.com/t5/mapping-questions/turn-off-a-selected-label-in-sql-query/m-p/453966#M4977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not the value &amp;nbsp;it is the Feature Identifier that I want to turn it off ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 21:14:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/turn-off-a-selected-label-in-sql-query/m-p/453966#M4977</guid>
      <dc:creator>DEAF_PROBERT_68</dc:creator>
      <dc:date>2017-03-09T21:14:06Z</dc:date>
    </item>
  </channel>
</rss>

