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

Using S-Controls as a Replacement to Roll-up Fields in a One to Many Lookup Relationship

There are many requests on the IdeasExchange to enable roll-up fields between objects with lookup relationships.  Unfortunately, I can't wait until this functionality is released.


I have two slightly different needs:


1.) count the # of records in a one (standard object) to many relationship (custom object) and then insert the value into a field on the standard object?


2.) summarize a # field in many related records in a custom object and insert the total into a standard object.


I can only tweak code, not create it.  So does anyone have a code snippet where they solved for this same need?