How to display SSN in Access showing only last four digits

G

Guest

I am trying to replace the first six numbers of a Social Security NUmber with
Stars and display only the last four digits in Microsoft Access. I would
like to be able to do this in a table and a query.
 
G

Guest

At the table design set the SSAN field format to:
"***-**-"0000

For queries, forms, and reports:
SSAN: "***-**-" & Right([SSAN_Text],4)

However the above does more than just format the data. It actually changes
what is returned. If you did it in a form, you could not use that field to
input data into the table.
 

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