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
K SrikanthK Srikanth 

used picklist value should not be assigned

I have custom picklist field listview__c and it has picklist values like(listview-001,listview-002,....,listview-500) upto 500. My requirement is if picklist value listview-001 is used, then I should not use that value. I want to know till how many picklist values have been used.

Can any one help for this?
Thankyou

PriyaPriya (Salesforce Developers) 
The developer community recommends providing any attempts/code you've started, any errors you're getting, or where exactly you're struggling in achieving this while posting a question.