<?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: ArcGIS Pro Calculate Field (using SQL) Not Honoring Selection in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculate-field-using-sql-not-honoring/m-p/290662#M12658</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After additional testing I have found that this issue also occurs when using the Python 3 expression type and leads me to believe this is a bug (and a significant one at that).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Mar 2019 21:01:43 GMT</pubDate>
    <dc:creator>KyleBalke__GISP</dc:creator>
    <dc:date>2019-03-27T21:01:43Z</dc:date>
    <item>
      <title>ArcGIS Pro Calculate Field (using SQL) Not Honoring Selection</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculate-field-using-sql-not-honoring/m-p/290661#M12657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It appears that the Calculate Field tool when using the SQL expression type in ArcGIS Pro 2.3.1 does not honor a selection set.&amp;nbsp; Is this functionality not supported or this a bug?&amp;nbsp; I could not find any mention of this in the ArcGIS Pro help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 20:41:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculate-field-using-sql-not-honoring/m-p/290661#M12657</guid>
      <dc:creator>KyleBalke__GISP</dc:creator>
      <dc:date>2019-03-27T20:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Calculate Field (using SQL) Not Honoring Selection</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculate-field-using-sql-not-honoring/m-p/290662#M12658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After additional testing I have found that this issue also occurs when using the Python 3 expression type and leads me to believe this is a bug (and a significant one at that).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 21:01:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculate-field-using-sql-not-honoring/m-p/290662#M12658</guid>
      <dc:creator>KyleBalke__GISP</dc:creator>
      <dc:date>2019-03-27T21:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Calculate Field (using SQL) Not Honoring Selection</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculate-field-using-sql-not-honoring/m-p/290663#M12659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using AGP 2.3.2 and tested this with Arcade and Python and it worked as expected.&amp;nbsp; What was unexpected is that using SQL expressions on a file geodatabase feature class threw "ERROR 002536:&amp;nbsp; Table &amp;lt;FC&amp;gt; does not support or is in a state to support SQL expressions."&amp;nbsp; Querying this error, the Help page said SQL expressions are only supported on feature service and enterprise geodatabase data.&amp;nbsp; That's a significant change to me!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 21:08:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculate-field-using-sql-not-honoring/m-p/290663#M12659</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2019-03-27T21:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Calculate Field (using SQL) Not Honoring Selection</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculate-field-using-sql-not-honoring/m-p/290664#M12660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert, it's documented that SQL expression type is only for&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/calculate-field.htm"&gt;https://pro.arcgis.com/en/pro-app/tool-reference/data-management/calculate-field.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/440609_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/54859"&gt;Kyle Balke, GISP&lt;/A&gt;‌ it would be important to provide steps, more details, and screenshots to understand what you're seeing especially since Robert says he tried with Arcade and Python and it works as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You don't have layers with the same name in a map do you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 21:15:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculate-field-using-sql-not-honoring/m-p/290664#M12660</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2019-03-27T21:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Calculate Field (using SQL) Not Honoring Selection</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculate-field-using-sql-not-honoring/m-p/290665#M12661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very true Kory - saw that after the ERROR message was thrown.&amp;nbsp; Used to my ArcMap days of SQL expressions is all - AGP is a different application as we know.&amp;nbsp; Thx!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 21:18:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculate-field-using-sql-not-honoring/m-p/290665#M12661</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2019-03-27T21:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Calculate Field (using SQL) Not Honoring Selection</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculate-field-using-sql-not-honoring/m-p/290666#M12662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am performing the Field Calculation against a hosted feature service (hence using the SQL expression type).&amp;nbsp; When I select one or more records and perform the calculation it updates all records in the table not just the selected records.&amp;nbsp; I just added the hosted feature layer to a new map in Pro and the selection set was honored.&amp;nbsp; Odd issue indeed...seems as though the layer in the map had an issue/corruption?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 21:31:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculate-field-using-sql-not-honoring/m-p/290666#M12662</guid>
      <dc:creator>KyleBalke__GISP</dc:creator>
      <dc:date>2019-03-27T21:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Calculate Field (using SQL) Not Honoring Selection</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculate-field-using-sql-not-honoring/m-p/290667#M12663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kory I did have two layers with the same name in the map.&amp;nbsp; Once I removed one of the layers the selection set was honored!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 21:35:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculate-field-using-sql-not-honoring/m-p/290667#M12663</guid>
      <dc:creator>KyleBalke__GISP</dc:creator>
      <dc:date>2019-03-27T21:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Calculate Field (using SQL) Not Honoring Selection</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculate-field-using-sql-not-honoring/m-p/290668#M12664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Best practice: try to not have duplicate layer names in a map (but I know there are reasons you might want that, so...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This issue was discussed here:&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/message/833996-re-applying-field-calculator-only-on-selected-features?commentID=833996&amp;amp;et=watches.email.thread#comment-833996"&gt;https://community.esri.com/message/833996-re-applying-field-calculator-only-on-selected-features?commentID=833996&amp;amp;et=watches.email.thread#comment-833996&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With duplicate layer names, if you have a selection on the second layer, and if you've right-clicked the field header to open the Calculate Field tool, the tool gets populated with the first layer.&amp;nbsp; As a user, you could switch it over to the second layer, but why would you - you instantiated the tool from the second layer, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, we have a fix for that in Pro 2.4.&amp;nbsp; So until then, not having duplicate layer names will help avoid issues.&amp;nbsp; I hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 21:49:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculate-field-using-sql-not-honoring/m-p/290668#M12664</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2019-03-27T21:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Calculate Field (using SQL) Not Honoring Selection</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculate-field-using-sql-not-honoring/m-p/290669#M12665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This complete makes sense and really was laziness on my part.&amp;nbsp; I truly appreciate the feedback!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kyle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 14:50:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculate-field-using-sql-not-honoring/m-p/290669#M12665</guid>
      <dc:creator>KyleBalke__GISP</dc:creator>
      <dc:date>2019-03-28T14:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Calculate Field (using SQL) Not Honoring Selection</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculate-field-using-sql-not-honoring/m-p/290670#M12666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm glad that helped, Kyle.&amp;nbsp; If you think it was the correct answer, could you please mark it to keep this thread clean?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 15:21:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculate-field-using-sql-not-honoring/m-p/290670#M12666</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2019-03-28T15:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Calculate Field (using SQL) Not Honoring Selection</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculate-field-using-sql-not-honoring/m-p/290671#M12667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ran into this last night, one in a series of problems when trying to join a table to an ArcGIS Online hosted feature layer and then calculate a field.&lt;/P&gt;&lt;P&gt;This is good information.&lt;/P&gt;&lt;P&gt;It would be even better if an invalid option was not displayed when the inputs contain an unsupported format, instead of as a note in the online documentation.&lt;/P&gt;&lt;P&gt;Python 3 worked for this particular issue.&lt;/P&gt;&lt;P&gt;Thanks for the info, as always!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Apr 2020 00:50:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculate-field-using-sql-not-honoring/m-p/290671#M12667</guid>
      <dc:creator>PaulHoefflerGISS</dc:creator>
      <dc:date>2020-04-12T00:50:57Z</dc:date>
    </item>
  </channel>
</rss>

