AnsweredAssumed Answered

I want to use an if else statement to pass a condition

Question asked by GISGURU_001 on Aug 28, 2012
Latest reply on Aug 30, 2012 by GISGURU_001
I want to use an if else statement to pass a condition and it's not returning any of the two values what im i doing wrong?

fc = "Parcels" field = "GeneratedN" cursor = arcpy.SearchCursor(fc) for row in cursor:     row.getValue(field) Val = row.getValue(field) if Val == 1:     print "Done" else:     print "Not Done" 


Any suggestions please

Outcomes