You need to sign in to do that
Don't have an account?
Akshiiiii
trigger to prevent duplicates in a record
Requirement - I have a Student Object in which there is a Subject Field. I need to create a trigger that prevents duplication of Subject for each student. Eg- If Student 'A' has a Subject English then that Student should not be allowed to add English again. But at the same time, another Student 'B' can add English as a Subject (if not previously added for Student 'B').
How can I achieve this?
How can I achieve this?
Try Below Trigger Please Mark It As Best Answer If It Helps
Thank You!
Thank you for your response but this is not exactly what I am looking for.
Try Below Trigger Please Mark It As Best Answer If It Helps
Thank You!