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
TraceyTracey 

Return picklist valie with Apex code

How could one write code to return the value of picklist?
xnerd00xxnerd00x

Schema.DescribeFieldResult f = Schema.sObjectType.Account.fields.Name;

 

And then look in the api documentation for getPicklistValues