You need to sign in to do that
Don't have an account?
Anik soni 7
I am stuck this question need help
There is a field Number_of _contact__c in which I want the total number of contacts of particular account for instance if account A has 4 contacts so in the field of the account whose name is Number_of _contacts__c show's 4 and if we delete 1 so it shows 3.
Could you please try the below link where it is showing a sample code for the similar scenario?
http://www.infallibletechie.com/2013/09/trigger-to-count-number-of-contacts.html
Could you please try implementing the below code as well: Please use these for reference to implement your use case
I hope this was helpful in rectifying your questions. Also, can you please close the thread by marking a best answer so that it can be useful for other in the future and also helps in keeping our community clean.
Regards,
Anutej