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  

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

See also

Example Databases

Blog Entries

This function checks for a license.

Created 21st September 2014, last changed 9th November 2021


QuickList.GetList - QuickList.HasDuplicateItems

💬 Ask a question or report a problem