function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sureshvepurisureshvepuri 

About trigger

 

 

   Hi guys,

 

                  I am entry level salesforce devoloper plese clear my problem

 

                  ex: i have written a trigger on contact for when the account 

 

                    is changed all the contacts will change. it is working .

 

                  But this time can i write a trigger on contact when the contact

 

               is changed the related account will change. but not all contacts of account . please give a sample code.

 

 

    Thank  you in advance! 

Best Answer chosen by Admin (Salesforce Developers) 
MikeGillMikeGill

Difficult for me to understand your use case.

 

Which object is the trigger on ?  Lead or Account

 

Probably a good idea to post trigger code - it will help

All Answers

MikeGillMikeGill

Difficult for me to understand your use case.

 

Which object is the trigger on ?  Lead or Account

 

Probably a good idea to post trigger code - it will help

This was selected as the best answer
sureshvepurisureshvepuri

 

 

         am very sorry sir, i have written wrong

 

 

 

 

   Thank you for your suggession.