I have 2 blocks of numbers, the first block contains 9 digits the second 8
digits where the last digit in each block needs to be a MOD 7 check digit.

I need to use these numbers in my Primary Key when adding new records, I can
easily get the MAX number + 1 but no idea how to get the last MOD 7 check
digit.  I see some tags for MOD 10 but cant find any info on MOD 7.  Any
idea's?

Example:

Block 1 (x = MOD 7 check digit)
15400006x
15429999x

Block 2 (x = MOD 7 check digit)
9880000x
9889999x

Thanks,Adrian



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to