Question : Bar Code Check Digit. (Zip Code Check Digit)

Hey Folks,

I've got an Access 2k application that prints mailing lables and I want to print a barcode with the zip code below the clients name. I know that you have to add the numbers and then the check digit is the lowest number it takes to get the sum to be divisible by 10.  I've got a do-loop function that works great for printing single envelopes, but I don't want to run it for each lable in a report with 200 lables.. would be very slow!! Is there an Access Function that I'm missing for this sort of use??

ie:
My zip code is: 80123 8+0+1+2+3 = 14
The bar code must be: 801236   (because 6 + 14 =20)

I'm using the "Mod" function now in the loop I have, but is there a function to add the 80123 for me?? (insted of the loop I'm using now)

Thanks,
Phill

Answer : Bar Code Check Digit. (Zip Code Check Digit)

Will do.

amp
community support moderator
Random Solutions  
 
programming4us programming4us