Brian Dunning's FileMaker Custom Functions

ListChanges ( oldList ; newList )

Returns

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

Bruce Robertson   Bruce Robertson - Show more from this author

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.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: