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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pattern Formation for Phone Numbers

Status
Not open for further replies.

cbochner

Programmer
Nov 20, 2006
13
0
0
US
Hi,

What is the formatting pattern to display a 10 digit phone number as (###) ###-####.

Please Help,

Chaim Bochner
 
Chaim,
Assuming Report Studio, you can play with the number format attributes (for example, Use Thousands Separator=Yes, separator='-', group size 4 and secondary group size 3 will yield the format NNN-NNN-NNNN), but I think you will be better off converting to text and substringing/concatenating as suggested in another forum.
Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top