Brian Dunning's FileMaker Custom Functions

CheckBankGiro ( OCR )

CheckBankGiro (OCR)

  Be the first to rate this function Log in to vote

Fabian Fridholm   Fabian Fridholm - Show more from this author
Fridholm & Partners AB

Share on Facebook Share on Twitter

  Sample input:
OCR ( 3646124682631 )
  Sample output:
1

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

Check if given number is a correct "OCR" number for bank transfer in the national Swedish BankGiro system. True = 1.

Checksum is 10-based, meaning you take the sum of all numbers except the last digit and keep the single number, such as "1" in the sample input above, where the checksum is "51".

Written in FM19 (While function).

 

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: