Jump to content

This topic is 5717 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

Posted

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

Posted

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.

Posted

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/

Posted (edited)

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

This topic is 5717 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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