Johanna:
I am glad it helped.
I've been on a 2 hour search for the right code to do my basic If/Then Statement and yours was the only one that worked, thank you!!
If [Other_Field] = 1 Then Output = "Minor" ElseIf [Other_Field] = 2 Then Output = "Major" Else Output = [Layer] ' Use the existing value of the field being calculated so that it won't change. End If
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.