I've written the following expression to format the phone number.
IIF(First(Fields!PHONE1.Value, "DataSet1") Is Nothing,
Nothing,
IIF(IsNumeric(First(Fields!PHONE1.Value, "DataSet1")),
Format(Val(First(Fields!PHONE1.Value, "DataSet1")), "(###)###-####"),
First(Fields!PHONE1.Value, "DataSet1")))
The issue is that when it pulls in I've got 4 zeroes (I think from the extension) that is throwing it off. How do I get rid of these zeroes?
This is a sample of what I get: (5213229)290-0000
ipainter