Will this work for you?
lcSSN = "123456789"
? PADL(INT(VAL(SYS(2007, LEFT(lcSSN,5))) * 10000 + VAL(SYS(2007, RIGHT(lcSSN,5)))), 9, '0')
? PADL(INT(RAND(VAL(lcSSN)) * 10^9), 9, '0')
>
>Thank you. I had checked out that function. I think I wasn't clear on what I'm looking for. What I'd like to have instead of the odd character string is a numeric or even alphanumeric string of the same length - similar to a checksum. Is that possible?
--sb--