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.

Calculation to Find #of certain records

Featured Replies

As part of a script, I need to find the count of # of records with certain code (i.e. Their inventory #s begin with AB or DC or JK, etc...). In the script, the inventory code is stored as a global variable - so that it is recalculated each time it is for a different code. The code field is "Series Initials"

Their is a self-join relationship between the global variable and the Series Initials.

Do I use Count (" ")? - is it: Count (global variable)?

I don't know if this makes sense - any help would be great.

Thanks, Sarah

  • Author

I forgot to mention that at the moment, I keep getting the result as 1. And in the script calculcation it is Count (global variable).

i think you could get fast results if you had a relationship between

your global code field and a related inventory field.

when you use "go to related record" script step & you specify show only related records you would have your answer with the "Get Found Count".

Only the related records that have AB would show up...

Then change your global for JK and only those would show up etc.

Dan

oups, i just noticed you are working with FM 6 !!!

i think you can do the same as my previous post but the Get function

is probably a Status function

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.