+ 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