?
Solved

Formatting Social Security Numbers

Posted on 2010-01-06
2
Medium Priority
?
717 Views
Last Modified: 2012-05-08
Hello Experts,
I am currently using the following formula in a report to format social security numbers:
{idntdfndt.ssn} [1 to 3] + "-" + { idntdfndt.ssn } [4 to 5] + "-" + { idntdfndt.ssn} [6 to 9]
Is there a way to modify this formula (or another formula) to display social security numbers as:  XXX - XX  1234 ?
If it matters at all, the report queries an Oracle database.
0
Comment
Question by:jsmith08
2 Comments
 
LVL 6

Accepted Solution

by:
magedroshdy earned 2000 total points
ID: 26190574
walk around:  'XXX - XXX - ' + ToText ({RE_INSURANCE_ACCUM.PERS_NUM}) [6 to 9]
since the first six charachter not displayed anyway
0
 

Author Closing Comment

by:jsmith08
ID: 31673464
Thank you! This is what I need.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses
Course of the Month16 days, 13 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question