AnsweredAssumed Answered

using the field calculator with python

Question asked by ljohnson40 on Jul 27, 2016
Latest reply on Oct 14, 2016 by fcbassongis

Hello,

So i am trying to use the field calculator using python to determine the input for the field. So for example my table has 2 fields(both text fields(one of the fields would be empty at this point)), i would like the code to say If field one is "String 1" then put in field 2 "string 2". Basically i want it to check the value of field one and if it matches the string i am looking for then i want it to write another string that i decide in the code to write. I was wondering if  someone had a template of a similar code that i can look at to get an idea on how to write it. Preferable in python but i think VB works also. Thanks in advance

Outcomes