tlomiej

Combine two columns into one

Discussion created by tlomiej on Mar 17, 2011
Latest reply on Mar 18, 2011 by tlomiej
I want to create a script that will combine two columns into one.
Unfortunately, I have a problem with the??? "None" value.
I don't know how to verify the other value from  2 column.
I have something like this:

cursor = gp.UpdateCursor("FC")
row = cursor.Next()
while row:
      if ( row.field == None):
       pass
      else:
       row.fieldoutput = row.field + row.field2
       cursor.UpdateRow(row)
      row = cursor.Next()


What should I do?

Outcomes