Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Last 4 Digits of SSN

Status
Not open for further replies.

mommom

Technical User
Joined
Nov 14, 2003
Messages
208
Location
US
I have a database that they need to have the entire SSN listed. However, when a report is printed out they only want the last (4) digits showing. How can I make that happen?
 
Have two textboxes on the report. One will have the control source set to the SSN field, but it will have the value Visible set to False. The other will have a control source of
=Right(SSN,4)

*assuming the name of the ssn field is SSN

-Pete
 
Thank you Snyperx3. Worked great!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top