I have no clue how to do the following Check Digit Validation
Step 1- Add 1st and 5th Digit of a ID number, giving total of 1
Add 2nd and 4th Digit of a Id number, giving total of 2
Step 2- Add 3rd digit of Id Number to total 1 and total 2, giving total 3.
Step 3- While total 3 is greater than 9, add all the digits of total 3 together giving a new total 3. Repeat this unitl total 3 is single digit.
Step 4 - The Id number is valid when the 6th digit of the id number is same as toatl 3.
Confused? I am. Could be because im very new to the whole VB concept. Any help much appreciated
Thanks
Step 1- Add 1st and 5th Digit of a ID number, giving total of 1
Add 2nd and 4th Digit of a Id number, giving total of 2
Step 2- Add 3rd digit of Id Number to total 1 and total 2, giving total 3.
Step 3- While total 3 is greater than 9, add all the digits of total 3 together giving a new total 3. Repeat this unitl total 3 is single digit.
Step 4 - The Id number is valid when the 6th digit of the id number is same as toatl 3.
Confused? I am. Could be because im very new to the whole VB concept. Any help much appreciated
Thanks