Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Can not sum all fields... HELP...

Featured Replies

  • Newbies

I am new to filemaker 6 and scripting for that matter. This has to be an easy problem to fix (I am so defeated that I haven't figured this out!)

Problem: After importing from MS Excel my book of Annuity customers. I have a number field named "Invested" -> I want create a field that will take all of these sale amounts (about 625 of them) and add them up in a running total field to track all of my sales.

I tried to created a calculation field called "Total Sales" and did this:

Sum(Invested)

This obviously doesn't work - any suggestions...

eric2k confused.gif

I'm using FileMaker 5, so I'm not sure if it's different.

Make the total field a summary field, rather then a calculation. You can then select the field you want it to add up, and there's a check box for a running total or not.

Hope this works.

Jo

Making a summary field would work, perhaps. I would place this field in the header of a layout, rather than body. A problem I've encountered is that the summary field will only summarize the fields in a current found set. If you need a running total of all records, then to view you'd need to show all records. If you are working with a small found set, the field will be useless.

What are the differences between using a defined summary fild, and a calculation field defined with a Sum calc?

Steve Brown

  • Author
  • Newbies

This is the problem that I am having... The sum calc only works for the current record... I need a static running total...?

Is there an "include all records" type of function that I can use? And then apply the sum function to that total?

Assuming you have a calculation for each record called "Invested" which is Sum(Invested), make a selfrelationship and a calculation SUM(CurrentFiletoCurrentFile:sale using this relationship :

CurrentFile::Invested::CurrentFile::Invested

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.