I'm trying to add dashes into a Social Security Number data field and I cannot figure our exactly how to write the formula. If anybody has any suggestions then I would appreciate hearing them.
if the field that contains the SS number is a string field use:
left({SS#.field},3 +"-"+mid({SS#.field},4,2)+"-"+right({SS#.field},4)
if the field that contains the SS number is a number field use:
stringvar SSnum:= totext({SS#.field},0,""
left(SSnum,3 +"-"+mid(SSnum,4,2)+"-"+right(SSnum,4)
Mike
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.