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
ListDialog.AddItemsToList
Adds entries to the list.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| ListDialog | 4.2 | Yes | Yes | No | No | No |
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| titles | The titles to add. | "Hello World" | |
| tags | The tags, e.g. the record ID. | "1234" | Optional |
Result
Returns number of items.
Description
Adds entries to the list.You can pass a list of items (separated with new line character)
If tag for an item is #, plugin will mark this entry as header item.
Examples
Add two items
MBS( "ListDialog.AddItemsToList"; "Hello¶World" )
Add header with two items
MBS( "ListDialog.AddItemsToList"; "Names¶Steve¶Joe¶Geoff"; "#¶1¶2¶3" )
Take two lists to fill two columns in a list dialog:
MBS("ListDialog.AddItemsToList"; MBS( "List.CrossProduct"; ListDialog::Text1; ListDialog::Text2; ""; Char(9); ""; 2))
See also
Example Databases
Created 18th August 2014, last changed 10th December 2020
ListDialog.AddItemToList - ListDialog.AddSQL
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins