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.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
QuickList.GetValue
Queries a value in the list.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| List | 4.4 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| ListRef | The reference to the list returned from QuickList.New function. | $List |
| Index | The index of the value to get. Must be in range from 0 to QuickList.Count-1. | $index |
Result
Returns OK or error.
Description
Queries a value in the list.Using our QuickList functions is much faster than using GetValue(listOfValues;valueNumber) function in FileMaker for large lists.
If you enable tracing with Trace command, this function will be much slower due to the debug output.
Examples
Query values from List:
$listID = MBS( "QuickList.New"; "Hello¶World")
$v1 = MBS( "QuickList.GetValue"; $listID; 1)
$v2 = MBS( "QuickList.GetValue"; $listID; 2)
$r = MBS("QuickList.Free"; $listID)
See also
- List.GetValue
- QuickList.AddValue
- QuickList.Count
- QuickList.Free
- QuickList.HasValue
- QuickList.InsertValue
- QuickList.New
- QuickList.RemoveValue
- QuickList.Serialize
- QuickList.SetValue
Example Databases
Blog Entries
FileMaker Magazin
Created 21st September 2014, last changed 4th October 2014
QuickList.GetList - QuickList.HasDuplicateItems
Feedback: Report problem or ask question.
Links
MBS FileMaker blog