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.

Featured Replies

Good afternoon,

This might be pretty straightforward but it is causing me problems.

I have a table of student registrations that pulls students in from the Student table. One student can have multiple registrations in one Session and Year in the Registrations table.

I need to be able to count only those students with less than 4 registrations.

For example:

John Doe has three registration records for Summer 1 2007.

Jane Doe has five registration records for Summer 1 2007.

According to this example, I would need to be able to see that only 1 student is registered for less than 4 classes on a report.

Any ideas?

Edited by Guest

how about a flag calc in Students, that equals "1" if count (Student::Registrations StudentID) is less than 5.

  • Author

That might work but I'm looking for those students with less than 4 registration records in a user-specified Session and Year.

John Doe might have 3 registration records in Summer 1 2007 but will registration records in many other Sessions and years as well. How do I identify those with less than 4 records in a given Session and year?

Well, you may need a separate flag field in Students for each session and year, each with a separate relationship from Student::Registration by the StudentID, SessionID, Year. In Students, make global calc fields that store the Session ID and Year that you'll use in the relationship.

So, in Students, you would have:

flag_Session1Year2007 = if (count ( students::registration by Sess1Yr07)<4, 1, 0)

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.