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
KIRONKUMARKKIRONKUMARK 

Unique Record Name field with the Data Type as TEXT

Hi, I need to eliminate duplicate records from the Record Name filed(data type is TEXT, I dont want to use 'Auto Number' datatype), in 'LOOKUP DIALOUGE' I am getting duplicate values, so, How to make 'RECORD NAME' field UNIQUE by using the data type 'TEXT' Any help will be greatly appreciated Kiran.
Best Answer chosen by Admin (Salesforce Developers) 
KIRONKUMARKKIRONKUMARK
But I dont want to use Workflow rule... is it possible?

All Answers

Navatar_DbSupNavatar_DbSup

Hi,

 

You can create a Name custom field Name__c on object in which you use lookup field by selecting the unique identifier and use a workflow rule to update this field with the Lookup field.

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved. 

KIRONKUMARKKIRONKUMARK
But I dont want to use Workflow rule... is it possible?
This was selected as the best answer
KIRONKUMARKKIRONKUMARK

Thanks a lot for the nice idea