ValidateMagStripes ( Track1 ; Track2 ; Track3 )
Be the first to rate this function Log in to vote
Steven Law - Show more from this author
LSC Media Enterprise
; 0 )
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
This will analyze the data intended for encoding onto,
or retrieval from, the tracks of a magnetic stripe on, for
example, a plastic card. It will identify character input
problems such as invalid ASCII characters per track,
test for data length per track, and determine if starting
and ending sentinels are correct per track.
The calculated result is three lines of text separated by
carriage returns (so expand your text result field to
view all calculated lines).
When testing for data length I have not taken into account
the LRC, since it is never a part of data encoding, and never
a product of reading the mag stripe (within the sentinels).
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.