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.

Display by total children

Featured Replies

I have a file with student records. Each student has its own information and a parent id. I need to determine how many children are in each family and pritn a report that is sorted by that number. For example Davey Jones might have 5 children in school. Tom Lasorta, 4. Anna Frank, 5. It should come out with a 5 children group displaying Frank and 5 children, and Jones with the 5 children info. Then the 4 children section with Lasorta and children info. As I mentioned, I can differentiate parents using the parent id.

Thanks,

Mike

  • Author

I failed to mention this file is in FMP 6.

Mike

You can use a columnar report with sub-summary parts, having a Sub-Summary by ParentID part where you can put the Parent Name(s) along with a Count of RecordID summary field.

In order to get the parts to summarize and sort the way you want, you should Sort by ParentID, and reorder by the Count of Records summary field.

Hmm, in FM6, I think this is a little different.

I think in this case you would need to define an aggegate calc in the Parent file:

NumberOfChildren (calculation, number result) = count(Child::ChildID)

Then sort and sub-summarize by this for the sub-summary report.

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.