Brian Dunning's FileMaker Custom Functions

ListChanges ( oldList ; newList )

Returns

  Average rating: 4.3 (35 votes) Log in to vote

Bruce Robertson   Bruce Robertson

Share on Facebook Share on Twitter

  Sample input:
ListChanges(
"1¶2¶3";
"A¶2¶B"
)
  Sample output:
1 => A
3 => B

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Compare two lists of equal length and return the changes in "oldvalue => newValue" format.

Useful for record change logs, for instance, when combined with on record load script and on record commit script. Use other custom functions or scripts to retrieve initial value on record open and final value on record submit.

 

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.