I am trying to update a field "SZone" with the information from field "Zone", based on field "PointOrder". I am trying to use Calculate Field and the following code, but it is not updating.
I am using the expression:
new(!Update!)
def new(Update):
if (PointOrder ==0):
return Zone
else:
return ""
Zone,SZone,PointOrderandUpdate? And depending on the value inPointOrder, you'd like to either updateSZoneto same value (or function of) asZoneor leave empty? What's with theUpdatefield that you have in your code? – Martin Mar 22 '16 at 14:22