<?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: Moving cells with field calculator in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/moving-cells-with-field-calculator/m-p/1090785#M44690</link>
    <description>&lt;P&gt;Modify this and run it in the python window. Test on a copy!&lt;/P&gt;&lt;LI-CODE lang="python"&gt;prev_value = None
with arcpy.da.UpdateCursor("TableName", ["KeyBioMechanicalFeatures"]) as cursor:
    for row in cursor:
        this_value = row[0]
        cursor.updateRow([prev_value])
        prev_value = this_value&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Aug 2021 13:44:05 GMT</pubDate>
    <dc:creator>JohannesLindner</dc:creator>
    <dc:date>2021-08-20T13:44:05Z</dc:date>
    <item>
      <title>Moving cells with field calculator</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/moving-cells-with-field-calculator/m-p/1090770#M44686</link>
      <description>&lt;P&gt;I am trying to move field entries down by 1 in an attribute table, between a certain row spread. I would like to move all the entries in the 'key biomechanical features' column down by 1 row between row x and row y ('Down' meaning the highlighted key biomechanical field entry in the image moving down to the field below it). I would like all the other columns to stay in their same place, and I would like the other entries in the 'key biomechanic&lt;SPAN&gt;al features' column that are not in the row spread to stay in their respective location. enter image description here&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="example" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/21243i25D0401005B4809A/image-size/large?v=v2&amp;amp;px=999" role="button" title="ExampleTable.PNG" alt="example" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;example&lt;/span&gt;&lt;/span&gt;Is there a way to do this using the field calculator and python?&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 12:59:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/moving-cells-with-field-calculator/m-p/1090770#M44686</guid>
      <dc:creator>DarrenDe_Lange</dc:creator>
      <dc:date>2021-08-20T12:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Moving cells with field calculator</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/moving-cells-with-field-calculator/m-p/1090785#M44690</link>
      <description>&lt;P&gt;Modify this and run it in the python window. Test on a copy!&lt;/P&gt;&lt;LI-CODE lang="python"&gt;prev_value = None
with arcpy.da.UpdateCursor("TableName", ["KeyBioMechanicalFeatures"]) as cursor:
    for row in cursor:
        this_value = row[0]
        cursor.updateRow([prev_value])
        prev_value = this_value&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 13:44:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/moving-cells-with-field-calculator/m-p/1090785#M44690</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2021-08-20T13:44:05Z</dc:date>
    </item>
  </channel>
</rss>

