Hello,
i try to use the index position of a field for an if-clause in the field calculator.
gesamt =
Codeblock:
Result:
Attachment 31051
This way or syntax is probably totaly wrong and i am grateful for any advise or solution.
Thank you
i try to use the index position of a field for an if-clause in the field calculator.
gesamt =
Code:
function(arcpy.fieldInfo.findFieldByName(!gesamt!))
Code:
def function(index):
if (index > 30):
ergebnis = (!Join_Count! + !Join_Count_1!)
return ergebnis
else:
return 99
Attachment 31051
This way or syntax is probably totaly wrong and i am grateful for any advise or solution.
Thank you