<?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: Copy data from one field to another in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/copy-data-from-one-field-to-another/m-p/588690#M46141</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot, it works perfecttly...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Jun 2013 14:20:36 GMT</pubDate>
    <dc:creator>RanaMahmoud</dc:creator>
    <dc:date>2013-06-04T14:20:36Z</dc:date>
    <item>
      <title>Copy data from one field to another</title>
      <link>https://community.esri.com/t5/python-questions/copy-data-from-one-field-to-another/m-p/588688#M46139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to copy data from one field to another. I wrote a script, but it dioesn't work, I get the following error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"The calculated value is invalid for the row with the ObjectID = 1. For example, the calculated value may be too large for teh field or you may be trying to add a string to a number field. This row will not be updated"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The source and destination fields in my script are identical, both are string fields with 255 characters length. I don't know where the problem is!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's my code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;import arcpy import os&amp;nbsp; arcpy.env.workspace = r"Test_geodatabase_path"&amp;nbsp;&amp;nbsp; arcpy.CalculateField_management("Test_FC_name", "Test", "Tes2")&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 12:01:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/copy-data-from-one-field-to-another/m-p/588688#M46139</guid>
      <dc:creator>RanaMahmoud</dc:creator>
      <dc:date>2013-06-04T12:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Copy data from one field to another</title>
      <link>https://community.esri.com/t5/python-questions/copy-data-from-one-field-to-another/m-p/588689#M46140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;try,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.CalculateField_management("Test_FC_name", "test", '!test2!', "PYTHON")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or better use CalculateField in modelBuilder then export to python.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 12:36:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/copy-data-from-one-field-to-another/m-p/588689#M46140</guid>
      <dc:creator>BartłomiejStaroń</dc:creator>
      <dc:date>2013-06-04T12:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Copy data from one field to another</title>
      <link>https://community.esri.com/t5/python-questions/copy-data-from-one-field-to-another/m-p/588690#M46141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot, it works perfecttly...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 14:20:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/copy-data-from-one-field-to-another/m-p/588690#M46141</guid>
      <dc:creator>RanaMahmoud</dc:creator>
      <dc:date>2013-06-04T14:20:36Z</dc:date>
    </item>
  </channel>
</rss>

