Brian Dunning's FileMaker Custom Functions

AAMVAJurisdiction ( IIN ; Output )

Converts the AAMVA issuer identification number to common formats, including the jurisdiction name, abbreviation and country.

  Be the first to rate this function Log in to vote

Matt C   Matt C - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
AAMVAJurisdiction("636001";0)
  Sample output:
New York

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

When the details of a PDF417 barcode are scanned on an American Association of Motor Vehicle Administrators (AAMVA) identification card, embedded within the data is a six-digit Issuer Identification Number (IIN), which identifies the jurisdiction that issued that piece of identification.

For example, if you scan a driver's licence issued by the State of New York, the embedded IIN is 636001. This function allows you to input the IIN and output details of the jurisdiction in several formats, including the jurisdiction full name, jurisdiction abbreviation, country name and country abbreviations.

For example, an IIN of 636001 will allow you to output:
New York
NY
USA
USA

Canadian province codes are in ISO 3166-2:CA format, US States are in ISO 3166-2:US format. Country codes are in ISO-3166 alpa-3 format.

 

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: