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: 9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4    Statistic  

QuickList.CountValuesMatching

Count matching entries in list.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
List 10.2 Yes Yes Yes Yes Yes
MBS( "QuickList.CountValuesMatching"; ListRef; Operator; Value { ; Mode } )   More

Parameters

Parameter Description Example Flags
ListRef The reference to the list returned from QuickList.New function. $List
Operator The compare operator.
Can be =, !=, <, >, <=, >=, ≤, ≥ or ≠.
"≥"
Value Available in MBS FileMaker Plugin 10.3 or newer.
The value to check against.
Mode Pass 1 for numeric comparison.
Default is 0 for text comparison.
0 Optional

Result

Returns number or error.

Description

Count matching entries in list.
This uses text comparison!

Examples

Count values in a quick list <4:

Let([
list = MBS( "QuickList.New"; "1¶2¶3¶4");
count = MBS( "QuickList.CountValuesMatching"; list; "<"; 4 );
r = MBS("QuickList.Free"; list)];
count)

See also

Blog Entries

Release notes

Created 5th April 2020, last changed 23th June 2020


QuickList.Count   -   QuickList.CrossProduct

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins