Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

QuickList.GetValue

Queries a value in the list.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
List 4.4 Yes Yes Yes Yes Yes

MBS( "QuickList.GetValue"; ListRef; Index )

Parameters

Parameter Description Example value
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

Example Databases


QuickList.GetList   -   QuickList.HasValue

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins