Changes to Social Security Number formatting

B

BSimpson

With new laws coming into play as regards the use of Social Security
numbers, I have to change the formatting I use in a large number of my Word
2000 merge documents to only display the last 4 digits of the SSN.

Currently, I'm using the following sample that works just fine:
{mergefield ssn \# "000'-'00'-'0000"} This yields the desired 123-45-6789
format.

However, per Court orders I have to change the formatting so that it will
display X's for the first 5 digits. Using the above sample number, applying
the desired formatting would result in the displaying of XXX-XX-6789.

I'm stumped as to how to change the numeric picture code to drop the first 5
digits without doing anything strange like shifting the last 4 digits
around, or something equally odd.

This *must* be done through merge field commands only, and can NOT involve
the changing of anything in the database from which the SSN is acquired.

Thoughts?
 
G

Greg Maxey

Bsimpson,

From your example, it appears that your data source is
holds 123456789. Try {mergefield ssn \# x### }. For me
this produces 6789. Type XXX-XX- as boiler plate text in
your main merge document followed by {mergefield ssn \#
x### }.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top