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
sadikvali shaiksadikvali shaik 

while entering data into account object how to remove duplicates whereas keep original data

HI,

I have account object in that object account_name field is there. whenever we are going to insert duplicate account names at that time that should remove duplicates and save original value.
Please do the needful.

Thanks,
sadik
GauravGargGauravGarg
Hi Sadik,
There are following ways to do it
 
  • Please mark this field as unique. 
  • If not able to mark above field as unique due to standard field
    • Create a formula field with formula as  "Name" and mark this field as unique. 
This will solve your problem. 


Thanks,
Gaurav