In my livestock app I need to check the ear tag number of cattle using a check digit.
The tag numbers are pre issued by the agriculture dept in this format. - UK107248500321.
In this example the 5 is the check digit.
The number with the 5 taken out - 10724800321 is divided by 7 and 1 is added to the remainder to get the check digit.
What do I need in the after update event of the tagno control on a form to confirm the check digit ?
TIA
David B
Hexham UK
The tag numbers are pre issued by the agriculture dept in this format. - UK107248500321.
In this example the 5 is the check digit.
The number with the 5 taken out - 10724800321 is divided by 7 and 1 is added to the remainder to get the check digit.
What do I need in the after update event of the tagno control on a form to confirm the check digit ?
TIA
David B
Hexham UK