You need to sign in to do that
Don't have an account?
bhaskar reddy k
regarding triggers
Hi all,
can any body help me on this,i have two objects Employee_DB__c(parent) and Employee_Address__c(child).my requirement is in parent and child there is a field called Country__c field is there,when ever the user wants to insert a new record or update the exsting record with country field , the country field of the child should be updated with parent country value.
thanks in advance.
can any body help me on this,i have two objects Employee_DB__c(parent) and Employee_Address__c(child).my requirement is in parent and child there is a field called Country__c field is there,when ever the user wants to insert a new record or update the exsting record with country field , the country field of the child should be updated with parent country value.
thanks in advance.
The following trigger will update the new value of Country__c in all its child object whenever you will change the value in Parent Object.
Now if you want that when you create a new child object (Employee_Address__c), its Country__c field should automatically fill according to its Parent, then you have to use one more trigger. This trigger will be on child Object :
Regards,
Ajay