Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 7242 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Hey all.. experienced SQL/Web Dev here, with about 48 hours of FM experience smile.gif

Needless to say, I've achieved about 80% of whats needed for my project

(contact management system , but have this issue:

I need to create a field in one of my Contact layouts that reflects the total

of all that contact's donations; basically a sum of related fields in the

donations table. I found out how to do calculated fields, and use SUM, but i

dont know how to apply it to a situation when there are a dynamic number of

fields/ records to be added.

Any help/direction would truly be appreciated!

-ekz

Posted

... and use SUM, but i dont know how to apply it to a situation when there are a dynamic number of fields/ records to be added.

Sum() uses the relationship to summarize and bases its result on all related records belonging to that table occurence (matching that one Contact record) and only to specific fields included in Donations (or Contacts). Thus it must be unstored and will update itself every time a new donation (or Contact) is added.

If you add more fields and want them included in the summarized calculation, you will need to modify the calculation in Field Definitions; or use globals (set via script) to hold your 'variable' fields.

This topic is 7242 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.