You need to sign in to do that
Don't have an account?

validation rule to prevent duplicate records
Hi,
I have Company as a custom object, and Company Name as a Salesforce Defined Field in that object.
Can anyone help me to write validation Rule to prevent the duplicate of Company Name
Thanks,
Varalaxmi
I have Company as a custom object, and Company Name as a Salesforce Defined Field in that object.
Can anyone help me to write validation Rule to prevent the duplicate of Company Name
Thanks,
Varalaxmi
May I suggest You please refer the below link for reference on prevent duplicate records in Salesforce using validation Rule.
- https://success.salesforce.com/answers?id=9063A000000l1kiQAA
- https://salesforce.stackexchange.com/questions/102346/how-to-prevent-duplicate-records-in-salesforce-using-validation-rule
Hope it will be helpful.Please mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.
Thanks
Rahul Kumar
Create a custom field, mark it as Unique. Now write a workflow field update to update this custom field with concatenation of Contact's 15 or 18-digit Id and Name field.
This way you count on sales-force's native uniqueness validation to prevent dupes instead of coding it.
MARK IT AS BEST ANSWER.IF MY SOLUTION HELPS YOU