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
Rosy09Rosy09 

how to avoid duplicate name ?

Hi...

My requirement is i have two objects class and student which are in MDR.

 

object 1 - class - Fields- class name.

object 2 -  student -Fields- student name, class(MDR), status(attending,dropping)

 

My requirement is  a student can attend multiple classes and at the same time only one record has to be

created with that student name where..mulitple classes can be included in tat record.

 

Plz suggest me how to work on it.

 

Thanks in advance.

 

 

 

Prashant TiwariPrashant Tiwari
Hey...I missed that its a master-detail relationship and in this scenario this solution won't work.

Atul111Atul111
Hi,
You can create text box with unique value. Through trigger you can add the student name and class name value in ts field. Then trigger will mange the unique value of this combination.

Please let e know if you need nay help
Atul111Atul111
I have not received any update, if you need any help please let me know