You need to sign in to do that
Don't have an account?
Songtao Shi
How to restrict duplicated child record if it's existing
Hi Guys,
I have two customized objects called 'Conference' (Parent) and 'Attendee' (Child). In the object of 'Attendee', we only have one field called Name which our SF users can lookup their names and register the conference. Now, i don't want user can register a same conference more than once. How can i do that? This is my first time to write a trigger. Any help is greatly appreciated. Thank you.
I have two customized objects called 'Conference' (Parent) and 'Attendee' (Child). In the object of 'Attendee', we only have one field called Name which our SF users can lookup their names and register the conference. Now, i don't want user can register a same conference more than once. How can i do that? This is my first time to write a trigger. Any help is greatly appreciated. Thank you.
Replace Account with with your Parent Object
Replace Contact with your child object
Please let me know if it works.