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
KSSFDCKSSFDC 

s-control to query record count OR repository or link to s-control re-usable code?

hi,
 
I am writing an s-control to calculate the count of related records for a custom object. eg: number of attendants to a meeting. I can certainly write this by myself but given how simple and common this scenario is, I tried to search if there was an existing s-control I could leverage?
 
I'm new to the help links but I looked at the Wiki, the discussion boards etc and I could not find any sample code for such a simple request.
 
Alternatively, is there a database or repository/link listing re-usable s-controls? That would be extremely resourceful.
 
KS-SFDC
SunilSunil

Hello,

You can create "Roll-Up Summary" field. It will do the job for you.

Thanks