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
CNimmaCNimma 

Prevent Duplicate Records with a date field combination

Hi,


I would like to prevent from entering/saving duplicate records with the combination of a date field and a look up field(Date & Username). I created a combination field and added a workflow but for some reason it does not work. Is there any way I can do this without having to write a trigger?

 

Thanks,

Nimma

AmitSahuAmitSahu
Are you trying to prevent it by WORKFLOW ? Use Validation Rules instead.
CNimmaCNimma
Can you please elaborate a little bit on how I can do it with validation rules for the combination Date & Username fields?