AnsweredAssumed Answered

Python script to field calculate one field based on another field's value

Question asked by tanana on Feb 5, 2015
Latest reply on Feb 5, 2015 by xander_bakker

I would like to find a python script to field calculate one field based on another field's value.  For example, "Field B" will have a code '23' if "Field A" is equal to CST, or if it is equal to AFF, it will be '11'. Also need to know what to use as a wildcard if CST or AFF is followed by more descriptions.

Outcomes