tlomiej

cursor

Discussion created by tlomiej on Mar 18, 2011
Latest reply on Mar 21, 2011 by clm42
I have something like this:

cursor = gp.SearchCursor(tabela1)
for row in iter(cursor.Next, None):
     gp.CalculateField_management(A_XYOSIE, row.exp_in, row.expression, "PYTHON", "")
     print "Calculate- ",row.expression," do",row.exp_in
    
print "end"


The script calculates the fields in the FC based in the separate table.
How to convert this script to use only cursor?

the  CalculateField not working for unknown reasons to me.

Outcomes