Brian Dunning's FileMaker Custom Functions

Mod10Rec ( num ; result ; loop )

Returns the checksum with the Modulo 10 recursive method

  Be the first to rate this function Log in to vote

Joachim Schmid   Joachim Schmid - Show more from this author
LaZ Lernen am Zürisee GmbH
https://laz.ch

Share on Facebook Share on Twitter

  Sample input:
Mod10Rec ( "92 10070 00000 05690 22063 1200" ; 0 ; 0 )
  Sample output:
7

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

Recursive function that returns the checksum with the Modulo 10 recursive method. (Used for Swiss payment orders, e. g. ISO-20022.)
The parameter "num" contains the number; only numerical values are processed.
The parameters "result" and "loop" have to be set to 0 when the function is called.

 

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: