Count Records in a Related List using Apex

If you want to populate a field with the count of the number of records in a specific related list on a custom object. Without using roll-up summary field, then this blog post is for you. I will suggest two triggers. First trigger on the child object (to cause a

Read More