I have two object School and Student.
They are having master detail relationship where School(Master) --> Student(Child)
Each school must contain student name with unique values.
For e.g. School Name : DOn Bosco
Student Name: Ajay
Student Name : Kunal
It should not allow another record with student name as 'Ajay', because it is already available under DOn Bosco.
But student Name "Ajay" can allow to add under different school name (say under St. Xaviers), simply because "Ajay" belongs to different school.
How to resolve this problem?