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.

Calculation Based On Unique Names

Featured Replies

This should be an easy one for someone hopefully. I am looking for a calculation that will count the number of unique names that meet a single criteria.

Unique because there are several records that have the same name in the name field and I only want this to be counted once. The criteria I want to set is the persons grade, therefore this calculation would give me the number of people I have working in each grade.

Unfortunately I only have FM6 which doesn't have some of the functions available in later versions.

How about a subsummary by name, with no body part and a summary field in the subsummary, Count (keyField).

??

Alright, I deserved that, comment. The OP's structure is so bad, and he's in FM6, that I just did one off the top of my head.

I do think that a sub-summary by name will get him there.

He really should have a join table btw People and Grades.

I don't see how a join table would help in counting the number of students in the found set (of the join table).

Besides, a relationship between People and Grades is hardly a many-to-many (unless you consider {A; B; C; D; F} to be an entity).

The solution can be found here:

http://fmforums.com/forum/showpost.php?post/135493/

What students? I saw it more as Teachers and Grades. Many teachers/many Grades. It's an assignment of teachers to grades, I think, not a grade book.

Edited by Guest

OK, I have re-read the OP and decided I don't get it. :)

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.