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

Hi there,

I am trying to make a script or a summary field that will find the number of records with a certain value in the value list. Basically, each of my records is either listed has an "A" or "B" value in a field. I want to find the number of records that has an "A" in the field.

Any suggestions would be greatly appreciated.

Thanks

Hi,

Have you tried the PatternCount function

PatternCount (The field to check, "search

  • Author

Sounds cool. But whenever I enter the script editor, it only has a set number of commands that you have to select from a list. Where would I type in a custom script like this?

  • Author

Oops, heh heh, you meant to do this under the define fields option right? Yeah, it works great, but I'd like to do a summary for the entire database, searching all the records for 'A's. Is this possible?

Am I missing something here?

Enter Find Mode []

Set Field [ the field, "==A"

Perform Find []

  • Author

After messing around for a bit (thanks to andygaunt for giving me a jump start), I came up with a field in the header of my database:

Field 1 (for calculation only, no display needed):

PatternCount( A_B_Takes, "A")

Field 2 (displayed in header of database):

Summary field -> Total of A_B_Takes

This gave me a field that always displays the current number of "A"s displayed.

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.