Link to home
Start Free TrialLog in
Avatar of birmbear
birmbear

asked on

SQL Server Report Services, Format SSN (Using Visual Studio 2003)

I'm trying to do a report with the SQL Server 2000 Report Services extension for Visual Studio 2003.  One column of the report is the peoples' social security number.  The number is stored as a string, but without the two hyphens.  I'd like it to  display using those hyphens.

Originally, the column data was...
=Fields!SSN.Value

I changed it to..
=Format(Fields!SSN.Value,"###-##-####")

When I run the report, all I see is the string ###-##-####.  IOW, no numbers, just pound symbols.

What am I missing?

__Birm
ASKER CERTIFIED SOLUTION
Avatar of Lori99
Lori99

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial