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
Emmanuel CoronaEmmanuel Corona 

Trigger to count items in related list

Greetings!

 

Is there a way to count the records on a related list and put the count value in a field? 

Avidev9Avidev9
Do you have a mater-detail or Lookup field ?
if master detail you can create a Rollup Summary fields @ Parent Object for Count
Emmanuel CoronaEmmanuel Corona

Is just a lookup field Avidev

Emmanuel CoronaEmmanuel Corona
Thanks Avidev... i'm working