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.

Count number of records with matching IDs

Featured Replies

I would like to set up a field that counts the number of records I have that have identical IDs.

For example I have a book the the ISBN 156740393x. I want file maker to count how many books we own with that ISBN.

Is this possible?

Mindy

Create the following 2 fields:

code:


SummaryISBN = Count of ISBN [this is a Summary field]

Quantity_of_This_ISBN = GetSummary(SummaryISBN,ISBN) [this is a calculation field]

On your layout, the Quantity_of_This_ISBN field will now display the total number of records which have ISBNs matching the ISBN in the record.

If you want a list showing how many of each ISBN you have, then create a layout with a sub-summary part sorted by ISBN. In this sub-summary part, place the ISBN and SummaryISBN fields. You can delete the body part.

Now, sort your records by ISBN as the first sort field, go to the new layout and enter preview mode. This will now display a list of each ISBN and the quantity held.

Russ Baker

[ March 28, 2002, 06:55 PM: Message edited by: Russell Baker ]

Or you could create a self relationship (ISBN::ISBN), and a calc field equalling Count(Relationship::ISBN). Then you can show the sum in any layout in Browse mode.

Use Dan's sollution!

It will work better in the long run.

However, with large numbers of records, both the above methods will slow things down a lot.

Rigsby

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.