Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
QuickList.RemoveDuplicateItems
Removes duplicate items in the list.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
List | 4.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "QuickList.RemoveDuplicateItems"; ListRef { ; RemoveAll; ReturnNewList; CaseInsensitive } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
ListRef | The reference to the list returned from QuickList.New function. | $List | |
RemoveAll | Available in MBS FileMaker Plugin 10.4 or newer. If duplicate is found also remove the first occurrence. Set to 1 to enable or 0 to disable. Default is disabled. |
1 | Optional |
ReturnNewList | Pass 1 to return result as new QuickList. This new list must be freed later using QuickList.Release function. Pass 0 (Default) to modify the list in the List1 parameter. |
0 | Optional |
CaseInsensitive | Available in MBS FileMaker Plugin 14.0 or newer. Whether to perform comparison case insensitve. By default we do case sensitive operations, which are faster. Pass 1 for insensitve or 0 for sensitive. |
0 | Optional |
Result
Returns OK or error.
Description
Removes duplicate items in the list.Similar to UniqueValues function in FileMaker to find unique values.
See also
- List.RemoveDuplicateItems
- QuickList.FindDuplicateItems
- QuickList.HasDuplicateItems
- QuickList.New
- QuickList.Release
- QuickList.RemoveEmptyItems
Release notes
- Version 14.0
- Added CaseSensitive flag for List.FindDuplicateItems, List.HasDuplicateItems, List.RemoveDuplicateItems, QuickList.FindDuplicateItems, QuickList.HasDuplicateItems, QuickList.RemoveDuplicateItems.
- Version 10.4
- Added RemoveAll and ReturnNewList parameters to QuickList.RemoveDuplicateItems function.
Blog Entries
- MBS FileMaker Plugin, version 13.6pr3
- MBS FileMaker Plugin, version 10.4pr4
- Comparing Base Elements Plugin to MBS FileMaker Plugin
- Data structures in FileMaker with MBS Plugins
This function checks for a license.
Created 21st September 2014, last changed 14th December 2023