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.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

QuickList.GetList

Queries the list as text.

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

MBS( "QuickList.GetList"; ListRef { ; NoReturnEnding; Delimiter } )

Parameters

Parameter Description Example value
ListRef The reference to the list returned from QuickList.New function. $List
NoReturnEnding Optional
Pass 1 to have no extra newline character on the end of the returned list. Default is 0 to include one to easily concat lists.
1
Delimiter Optional
The delimiter to use.
Can be empty to have no delimiter.
Common use is to pass "¶", ", " or "; ".
", "

Result

Returns text or error.

Description

Queries the list as text.
Lines are separated by return character.

Examples

Create a list and query it:

$listID = MBS( "QuickList.New"; "Hello¶World")
$list = MBS( "QuickList.GetList"; $listID)
$r = MBS("QuickList.Free"; $listID)

Try with delimiter:

Set Variable [$listID; Value:MBS( "QuickList.New"; "Hello¶World")]
Set Variable [$list1; Value:MBS( "QuickList.GetList"; $listID)]
Show Custom Dialog ["Result default"; $list1]
Set Variable [$list2; Value:MBS( "QuickList.GetList"; $listID; 0; "")]
Show Custom Dialog ["Result with empty delimiter"; $list2]
Set Variable [$list3; Value:MBS( "QuickList.GetList"; $listID; 0; " ")]
Show Custom Dialog ["Result with space delimiter"; $list3]
Set Variable [$r; Value:MBS("QuickList.Free"; $listID)]

See also

Example Databases


QuickList.Free   -   QuickList.GetValue

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins