Skip 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.

Counting unique models

Featured Replies

  • Newbies

Hi, I know this may be an incredibly stupid question but here goes: I have a list of products with various models and unique serial numbers (manufacturers not filemaker). In this table a model may appear several times, I want to be able to count how m any of each product is listed (ProductA, ProductB, ProductB, ProductB, ProductC, ProductC, would return 1, 3, 2). I can't for the life of me figure this out. This would allow me to keep tabs on the number of each product in stock.

Thank you for your patience.

Tom

I would suggest a table Product Catalog. Then in the Product table, you would assign the Product Catalog ID (how else are you entering Product Descriptions so that they are identical?).

Then, from the Product Catalog table, you can relate to the Products table by Product Catalog ID and count the matches.

Product Catalog:

_kP_ProdCatID

_kF_ManfID

Desc

Model

Products:

_kP_ProductID

__kF_ProdCatID

Serial No

Bar Code?

Edited by Guest
added foreign key to Manfacturer table

  • Author
  • Newbies

Thanks, that worked well, I just switched from Access (ugh) to FM so my brain is still a bit crunched. I'm still getting used to the relationships, scripting and so forth in FM, sometimes I go into brain-lock I appreciate your time.

Tom

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.