function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Bruce HansonBruce Hanson 

set picklist value to value from another text field

I'm looking for some simple apex code that will set the value of a picklist field based on another text (or formula) field value (whenever it changes).
Using workflow would take too many rules because I need a new rule for each possible value.
Thanks!