#Import import arcpy #Name Variable inputName = arcpy.GetParameterAsText(1) #Permits the user to enter their name into the MAPPER field try: cursor = arcpy.da.UpdateCursor("Parcels", ["MAPPER"]) for row in cursor: cursor.updateRow(["inputName"]) arcpy.AddMessage("name entered") del row del cursor except: print arcpy.GetMessages()
Solved! Go to Solution.
for row in cursor: row[0] = inputName cursor.updateRow(row)
for row in cursor: row[0] = inputName cursor.updateRow(row)