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
advlgxadvlgx 

Implement a summary/formula field of related list value on Campaign record

I have a child object(Campaign Expenses) to the Campaign object through a lookup field. I have to have it as lookup as I already have a master-detail relationship to the Campaign Expenses table.

What methods can I use to SUM the campaign expenses in a campaign object formula field?
DSchachDSchach
You'll need to use Apex to implement a roll-up summary of the data. You can find an example at http://colinloretz.com/2008/10/salesforce-rollup-summary-fields-using-apex-code/

Good luck!