You need to sign in to do that
Don't have an account?

Sum up values in fields
Trying to find a way to sum up the values in a group of custom fields on a custom object. There's no master-detail so I can't use a Roll-up summary field. Is there anyway to handle this in Apex? There's about 30 fields I want to add together.
Thanks.
Are you saying you want to have a field on your custom object that is the sum of other fields in the same object?
For that you probably want to use a formula field.
Rich
No, this would be apex code to sum up the values.