Brian Dunning's FileMaker Custom Functions

@UniqueValuesToAdd ( existingValues ; addingValues ; ~datatype ; ~locale )

Filter values that are not on the list.

  Average rating: 4.0 (4 votes) Log in to vote

Alex Zueiv   Alex Zueiv
Tashkent

Share on Facebook Share on Twitter

  Sample input:
Quote ( @UniqueValuesToAdd ( "existing¶values" ; "adding¶values" ; "" ; "" ) )
  Sample output:
"adding¶"

  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¶"

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Under construction. Email me your wish list for improvements.