if !ECOSITE! == !ECOSITE_1!: test = "Same" else: test = "Inclusion" COMPARE_FIELDS = test
def TestFields ( ECOSITE , ECOSITE_1 ): # these reference individual values if ECOSITE_1 == ECOSITE: return "Same" else: return "Inclusion" COMPARE_FIELDS = TestFields(!ECOSITE!,!ECOSITE_1!) # these reference the field to grab individual values
def TestFields (Field1,Field2): if Field1 == Field2: return "Same" else: return "Inclusion" TEST = TestFields( !ECOSITE!, !ECOSITE_1! )
def TestFields ( !ECOSITE! , !ECOSITE_1! ): if !ECOSITE_1! == !ECOSITE!: test = "Same" else: test = "Inclusion" COMPARE_FIELDS = TestFields(!ECOSITE!,!ECOSITE_1!)
def TestFields (Field1,Field2): if Field1 == Field2 test = "Same" else: test = "Inclusion" COMPARE_FIELDS = TestFields(!ECOSITE!,!ECOSITE_1!)
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.