<?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: Trouble updating attribute table using arcpy.UpdateCursor in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/trouble-updating-attribute-table-using-arcpy/m-p/641815#M31964</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hannah,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your first function, you use an Update Cursor but aren't updating any values. A Search Cursor would be more appropriate. If I understand what you're trying to do correctly, I believe your question is touched upon in some older posts - you can check these two for guidance:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/thread/205217"&gt;update attribute table from another table based on a query&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/thread/208862-using-search-cursor-dictionaryupdate-populate-many-fields-using-values-from-another-table"&gt;https://community.esri.com/thread/208862-using-search-cursor-dictionaryupdate-populate-many-fields-using-values-from-another-table&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Earl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Sep 2019 19:09:55 GMT</pubDate>
    <dc:creator>EarlMedina</dc:creator>
    <dc:date>2019-09-24T19:09:55Z</dc:date>
    <item>
      <title>Trouble updating attribute table using arcpy.UpdateCursor</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/trouble-updating-attribute-table-using-arcpy/m-p/641813#M31962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to update a column with data from a different attribute table using arcpy.UpdateCursor()&lt;/P&gt;&lt;P&gt;When I run my script it does not return an error, but it does not save the updated value to the table either.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached a screenshot of my code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any and all suggestions are greatly appreciated.&lt;IMG alt="Code Screenshot" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/460306_atom_parcel.PNG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2019 18:17:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/trouble-updating-attribute-table-using-arcpy/m-p/641813#M31962</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-09-24T18:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble updating attribute table using arcpy.UpdateCursor</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/trouble-updating-attribute-table-using-arcpy/m-p/641814#M31963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My first suggestion is don't use &lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-classes/cursor.htm" title="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-classes/cursor.htm"&gt;Cursor—Help | ArcGIS Desktop&lt;/A&gt; , use &lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-data-access/updatecursor-class.htm" title="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-data-access/updatecursor-class.htm"&gt;UpdateCursor—Help | ArcGIS Desktop&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, sharing with &lt;A href="https://community.esri.com/space/2145"&gt;Python&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2019 18:46:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/trouble-updating-attribute-table-using-arcpy/m-p/641814#M31963</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2019-09-24T18:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble updating attribute table using arcpy.UpdateCursor</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/trouble-updating-attribute-table-using-arcpy/m-p/641815#M31964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hannah,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your first function, you use an Update Cursor but aren't updating any values. A Search Cursor would be more appropriate. If I understand what you're trying to do correctly, I believe your question is touched upon in some older posts - you can check these two for guidance:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/thread/205217"&gt;update attribute table from another table based on a query&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/thread/208862-using-search-cursor-dictionaryupdate-populate-many-fields-using-values-from-another-table"&gt;https://community.esri.com/thread/208862-using-search-cursor-dictionaryupdate-populate-many-fields-using-values-from-another-table&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Earl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2019 19:09:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/trouble-updating-attribute-table-using-arcpy/m-p/641815#M31964</guid>
      <dc:creator>EarlMedina</dc:creator>
      <dc:date>2019-09-24T19:09:55Z</dc:date>
    </item>
  </channel>
</rss>

