In the Opportunity record I have a custom field of type lookup field . In the lookup field programmatically via apex I add and remove values.
objOpportunity.userIdToPressUnlock__c = UserInfo.getUserId();
But I need to change the type of the custom field from lookup to multiselect picklist. For that reason I also have to make changes in the apex code in order to be able to add and remove new values form the multiselect picklist.
Could you please explain how to add and remove values from the multiselect picklist programmatically by using apex code?