Oct 19, 2007 #1 sbcsandhu Programmer Jul 3, 2007 113 US i cant rememeber how i would format the dashes(-) in a SSN 123456789 would like it 123-45-6789 thanks
i cant rememeber how i would format the dashes(-) in a SSN 123456789 would like it 123-45-6789 thanks
Oct 19, 2007 #2 AndyMc Vendor Mar 17, 2001 333 US Try: //@ssn formula picture({table.ssn},"xxx-xx-xxxx") Andy Upvote 0 Downvote
Oct 19, 2007 #3 AndyMc Vendor Mar 17, 2001 333 US That was assuming the ssn was a text field. If its numeric try: //@ssn formula picture(totext({table.ssn},0,""),"xxx-xx-xxxx") Andy Upvote 0 Downvote
That was assuming the ssn was a text field. If its numeric try: //@ssn formula picture(totext({table.ssn},0,""),"xxx-xx-xxxx") Andy
Oct 19, 2007 #4 lbass Technical User Feb 9, 2002 32,818 US If it's a number, then I think you should use: picture(totext({table.ssn},"000000000"),"xxx-xx-xxxx") --in order to get the leading 0. -LB Upvote 0 Downvote
If it's a number, then I think you should use: picture(totext({table.ssn},"000000000"),"xxx-xx-xxxx") --in order to get the leading 0. -LB
Oct 19, 2007 #5 AndyMc Vendor Mar 17, 2001 333 US Oh yea, I forgot about the those folks born in the top-right-corner of the country - thanks for catching that, LB. Andy Upvote 0 Downvote
Oh yea, I forgot about the those folks born in the top-right-corner of the country - thanks for catching that, LB. Andy