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.

Summary - not summing my way

Featured Replies

This is what I'm trying to say with a couple summaries; "I have X number of Samples that have come from Y different families (Y can be the same number as X but never more)"

Details... using 2 tables; Contacts and Samples relationship is based on Contact ID. Contacts are also part of a Family and have a Family ID (Family ID is part of the same Contacts Table, it is not its own table). I'm trying to generate a report of all samples (easy enough) Sorted by Family ID (still easy). The report layout has a Sub-Summary when sorted by Family_ID, (still pretty basic) and this is working perfectly.

I now need two Summaries. The first is straight forward and working fine, basically total found records.The second is the one I need help with. I need a total/count of unique Family IDs used.

I've tried creating a calc field that counts the Family ID's then a summary of that field but the calc counts each individual record not just uniques each unique family ID so I end up with the same totals.

Thanks and as always any suggestions are appreciated.

See:

http://www.fmforums.com/forum/showpost.php?post/297916/

Note that GetSummary() will NOT work with a related breakField, so just make yourself an unstored calculation field in the Samples table =

Contacts::Family ID

and use that instead (for sorting and the sub-summary part, too).

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.