Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

QuickList.GetValue

Queries a value in the list.

Component Version macOS Windows Linux Server iOS SDK
List 4.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "QuickList.GetValue"; ListRef; Index )   More

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 value 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.Release"; $listID)

See also

Example Databases

Blog Entries

This function checks for a license.

Created 21st September 2014, last changed 14th December 2023


QuickList.GetList - QuickList.HasDuplicateItems