You need to sign in to do that
Don't have an account?
Peter Cowen
count number of records in a related list
I have two objects case and Service Request. I would like to have a field which counts the number of cases attached to the Service Request.
I am unable to have a rollup field.
Ideally i would like to have a graph that shows the number of cases and when the number increases (like a time line 9am 3 cases 10am 5 cases)
but just a field would do to count all cases added.
Does anyone know how to do this?
I am unable to have a rollup field.
Ideally i would like to have a graph that shows the number of cases and when the number increases (like a time line 9am 3 cases 10am 5 cases)
but just a field would do to count all cases added.
Does anyone know how to do this?
Please check the below sample code and replace the API names.
The trigger on Contact object.When contact is "created No_of_contacts__c" custom field in account increment by 1.
Trigger
Hope this helps you!
Best Regards,
Jyothsna