AnsweredAssumed Answered

Compare fields

Question asked by wtgeographer@gmail.com on Nov 7, 2012
Latest reply on Nov 7, 2012 by tmackey-esriaustralia-com-au-esridist
I would like to use python in field calculator of field3 comparing the values of two other fields similar to:

field3=

if field1 == field2:
    return 1
else:
    return 0

However I cannot get this to work?  Suggestions?

Outcomes