@UniqueValuesToAdd ( existingValues ; addingValues ; ~datatype ; ~locale )
Filter values that are not on the list.
Average rating: 4.0 (4 votes) Log in to vote
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
This CF allows to find out which values are new before adding them to the DB. It is useful to prevent duplicate entries when you do Insert from URL  or when you need to post-process a set of newly selected checkboxes.
Works in FM16+ only (no runtimes).
Tip: To get the list of removed values, just change the parameters in places:
Quote ( @UniqueValuesToAdd ( "adding¶values" ; "existing¶values" ; "" ; "" ) ) = "existing¶"
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.