Brian Dunning's FileMaker Custom Functions

ValidCard ( pNumber ; pShow )

ValidCard checks the plausibility of a given cardnumber and gives back the check digit or if you want the name of the card.

  Average rating: 4.4 (30 votes) Log in to vote

Klaus-Dieter Brügmann   Klaus-Dieter Brügmann
kade project
http://www.kade-project.de

Share on Facebook Share on Twitter

  Sample input:
complete card number ; ""

complete card number ; "Card"
  Sample output:
check digit

card name

(or "input error")

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

ValidCard checks the plausibility of a given cardnumber and gives back the check digit or if you want the name of the card. You can check various types of cards: American Express, Diner's Club, Visa, Mastercard, Discover, JCB, En Route and also the german "Bahncard" and the "Miles&More" card of the german airline "Lufthansa".

 

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.