Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Count matching entries in list.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
List | 10.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
List | The list to process. | "Hello" ¶ "" ¶ "World" | |
Operator | The compare operator. Can be =, !=, <, >, <=, >=, ≤, ≥ or ≠. |
"≥" | |
Value | The value to check against. | ||
Mode | Available in MBS FileMaker Plugin 10.3 or newer. Pass 1 for numeric comparison. Default is 0 for text comparison. |
0 | Optional |
Returns number or error.
Count values ≥3:
MBS( "List.CountValuesMatching"; "1¶2¶3¶4"; ">="; 3 )
Example result: 2
Count values <4:
MBS( "List.CountValuesMatching"; "1¶2¶3¶4"; "<"; 4 )
Count values below 100 numerically:
MBS("List.CountValuesMatching";"10¶20¶300¶40";"<";100; 1)
Example result: 3
This function checks for a license.
Created 5th April 2020, last changed 23th June 2020