If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Crystal Reports > I need to hide part of the data in one field

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old
Registered User
 
Join Date: Sep 2007
Posts: 2
I need to hide part of the data in one field - I have a SSN number field and I only want the last 4 digits to show.
Reply With Quote
  #2 (permalink)  
Old
Registered User
 
Join Date: Aug 2005
Posts: 4
Try this in the display string..... I used it to show only the first and last four digits of a creditcard number.

Hope it helps.
L x



Left({ClientCreditCard_TB.CardNumber_FD}, 4) + '-***-***-' + Right({ClientCreditCard_TB.CardNumber_FD}, 4)
Reply With Quote
  #3 (permalink)  
Old
Registered User
 
Join Date: Sep 2007
Posts: 2
It worked!

Thank you for your help!!!
-Kelly
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On