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: "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"
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!!!
Here's my code:
import arcpy import os arcpy.env.workspace = r"Test_geodatabase_path" arcpy.CalculateField_management("Test_FC_name", "Test", "Tes2")