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.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
Statistic
FMM
Blog
QuickList.IndexOfFirstValueMatching
Finds index of first value matching value.
Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
List | 10.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
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 | The value to compare. | "Test" | Optional |
Mode | Available in MBS FileMaker Plugin 10.3 or newer. Pass 1 for numeric comparison. Default is 0 for text comparison. |
0 | Optional |
Result
Returns number or error.
Description
Finds index of first value matching value.This uses text comparison!
Examples
Find index of first value ≥4:
Let([
list = MBS( "QuickList.New"; "1¶2¶3¶4");
count = MBS( "QuickList.IndexOfFirstValueMatching"; list; "≥"; 4 );
r = MBS("QuickList.Free"; list)];
count)
See also
Blog Entries
- MBS FileMaker Plugin, version 10.4pr7
- MBS FileMaker Plugin, version 10.3pr6
- News about the MBS FileMaker Plugin 10.2
- MBS FileMaker Plugin, version 10.2pr2
Release notes
- Version 10.4
- Added prefix/postfix operator for List.IndexOfFirstValueMatching, QuickList.IndexOfFirstValueMatching, List.CountValuesMatching and QuickList.CountValuesMatching.
- Version 10.3
- Added numeric mode for List.CountValuesMatching, List.IndexOfFirstValueMatching, QuickList.CountValuesMatching and QuickList.IndexOfFirstValueMatching functions.
- Version 10.2
Created 5th April 2020, last changed 23th June 2020
QuickList.HasValue - QuickList.InsertValue
Feedback: Report problem or ask question.

Links
MBS Xojo blog