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.

Sub-sum,mary from linked table

Featured Replies

Hi all:

I have a table,

It sounds like you're using a normal (or calculation) field in the subsummary instead of a summary field.

  • Author

THIS POST WAS A REPLY TO MY OWN AS A FOLLOW-UP QUESTION, AND NOT AN ANSWER TO ANOTHER POSTER.

Have been trying various combinations of base-tables and sorts, and I get the farthest when I use 'Invoices' as the base table, but still cannot get the sub-summary to work. Is it absolutely necessary for me to have to do some calculations in the creation of the Invoices themselves that will carry a summary amount from the 'Trips' table into the 'Invoices' table?

I REALLY want to avoid that if possible.

Thanks

  • Author

No, the field is a summary field inside the 'Trips' table. And it DOES summarize correctly on a similar layout based on the 'Trips' table.

But once I try to do something like it off of the 'Invoices' table, it wonks out. MUST you base a layout off of the table upon which you want a summary field to act? Or should the relationships allow summary fields to work in layouts based off different tables?

Thanks

Ahh, summary fields are table-dependent. You can't use a summary field for Trips in Invoices and expect to get the correct result. You would have to use a calculated Sum(relationship::field) for that.

  • Author

AH - was beginning to see that. Can you explain more about the calculated sum you mention?

Sure. You would create a calculation field in Invoices that uses the relationship to Trips and the field that is totalled in the Trips' summary field, not the summary field itself. So it would look something like Sum(Trips::datafield). Since each record in a particular subsummary should contain the same TripID (unless this is an incorrect assumption), it will give the same result for all of them and can therefore be used in a subsummary part accurately.

  • Author

That makes a lot of sense, I am going to give it a try.

Thanks for the help, Queue.

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.