<?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: Saving Query in Select by Attributes Issue with Blank Values in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/saving-query-in-select-by-attributes-issue-with/m-p/490636#M21569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes thanks Joshua and Kory for getting this sent to the correct people.&amp;nbsp; I wasn't sure it was a bug or not, so I didn't want to post it in the Bug forum...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jun 2020 16:30:29 GMT</pubDate>
    <dc:creator>PeteJordan</dc:creator>
    <dc:date>2020-06-23T16:30:29Z</dc:date>
    <item>
      <title>Saving Query in Select by Attributes Issue with Blank Values</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/saving-query-in-select-by-attributes-issue-with/m-p/490633#M21566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; I have a query:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FAC_TYPE IN ('SHARED LANE', 'PAVED SHOULDER', 'BICYCLE LANE', 'SEPARATED BICYCLE LANE', 'BICYCLE BOULEVARD') And (&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;NAME = ''&lt;/STRONG&gt;&lt;/SPAN&gt; Or NAME IS NULL) And UPDATED = 'YES'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(sorry&amp;nbsp;I can't figure out, using the Syntax Highlighter, how to change the bold or color of the part I want highlighted)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&lt;/EM&gt;The important part is I not only have NULL values, but blank ones that are only found using the &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;NAME = ''&lt;/STRONG&gt;&lt;/SPAN&gt;.&amp;nbsp; The issue is if I cut and past my code into the SQL it works fine, however if I save this query for future use and re-load it, the&amp;nbsp;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;''&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;is removed each time (&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;NAME = &lt;/STRONG&gt;&lt;/SPAN&gt;) and the query fails until I manually have to add the quotes back in.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here's what it looks like when loading it back up:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="line-numbers language-sql"&gt;&lt;CODE&gt;FAC_TYPE &lt;SPAN class="operator token"&gt;IN&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'SHARED LANE'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'PAVED SHOULDER'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'BICYCLE LANE'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'SEPARATED BICYCLE LANE'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'BICYCLE BOULEVARD'&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="punctuation token"&gt;(&lt;/SPAN&gt;NAME &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;  &lt;SPAN class="operator token"&gt;Or&lt;/SPAN&gt; NAME &lt;SPAN class="operator token"&gt;IS&lt;/SPAN&gt; &lt;SPAN class="token boolean"&gt;NULL&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;And&lt;/SPAN&gt; UPDATED &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'YES'&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;&lt;/P&gt;&lt;P&gt;Where&amp;nbsp;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;NAME =&amp;nbsp;&lt;SPAN style="color: #3d3d3d; font-weight: 400;"&gt;shows up with out the &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;''&lt;SPAN style="color: #3d3d3d; font-weight: 400;"&gt;.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="; color: #3d3d3d; font-weight: 400;"&gt;&amp;nbsp; Anyway to fix this when saving queries or is this just a bug?&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV style="position: absolute; left: 331px; top: 486px;"&gt;&lt;DIV class="gtx-trans-icon"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2020 13:30:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/saving-query-in-select-by-attributes-issue-with/m-p/490633#M21566</guid>
      <dc:creator>PeteJordan</dc:creator>
      <dc:date>2020-06-23T13:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Query in Select by Attributes Issue with Blank Values</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/saving-query-in-select-by-attributes-issue-with/m-p/490634#M21567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/45316"&gt;Kory Kramer&lt;/A&gt;‌, this definitely seems like a defect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just tested on Pro 2.6 beta, and this behavior still exists, and it is definitely a defect.&amp;nbsp; The behavior is even worse than it appears because it will strip leading or trailing spaces from text strings with text in them.&amp;nbsp; The output EXP file looks correct, so this appears to be an import issue in Pro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2020 15:09:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/saving-query-in-select-by-attributes-issue-with/m-p/490634#M21567</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2020-06-23T15:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Query in Select by Attributes Issue with Blank Values</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/saving-query-in-select-by-attributes-issue-with/m-p/490635#M21568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Joshua.&amp;nbsp; I saw your comment in the Early Adopter Community, and I've shared this with the appropriate development team internally to take a look.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for helping to get this in front of the development team to assess.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2020 16:01:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/saving-query-in-select-by-attributes-issue-with/m-p/490635#M21568</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2020-06-23T16:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Query in Select by Attributes Issue with Blank Values</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/saving-query-in-select-by-attributes-issue-with/m-p/490636#M21569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes thanks Joshua and Kory for getting this sent to the correct people.&amp;nbsp; I wasn't sure it was a bug or not, so I didn't want to post it in the Bug forum...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2020 16:30:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/saving-query-in-select-by-attributes-issue-with/m-p/490636#M21569</guid>
      <dc:creator>PeteJordan</dc:creator>
      <dc:date>2020-06-23T16:30:29Z</dc:date>
    </item>
  </channel>
</rss>

