Skip 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.

Sum total for all records of one field when parent is only subset ?

Featured Replies

Main table is types of vacuum tubes. Related table is ownership of various brands and shapes for each tube type, with a quantity field. Related table has summary field that calcs total of the Quantity field. This total changes as found set in main table changes.

Primary layout has records of main table, with portal for related table.

On this layout, how can I show total of Quantity field, for all records in main table, even if found set is less than all records ?

Think carefully before putting summary fields on main data entry layouts: they will create a HUGE performance hit while they get re-calculated especially as the record numbers grow. Every time it refreshes it could be a 2 to 3 second pause. Not fun.

  • Author

I found the answer in an old post here. Create another relationship. Use global key fields in both main and related. Then same sum calc field always finds all records regardless of found set in main table.

Concern about update speed noted and appreciated.

DB currently has 309 records in main and <600 in related.

Main will never exceed 500 and related never exceed 2000. Even this will take years.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.