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

Number String to Phone Number 1

Status
Not open for further replies.

yipster

IS-IT--Management
Feb 21, 2005
234
US
Hi,

I am trying to figure out how to convert a string of numbers to a phone number setting.

Right now the field just populate 1234567890 but I would like it to show (123) 456-7890. Is this even possible?

Thanks
 
Use a formula:

Picture("(xxx) xxx-xxxx")

Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports

"What version of URGENT!!! are you using?
 
Hi

I have the field selected but how do I add that function in?
 
You should replace your field with a formula that you create in the field explorer->formula->new area:

picture({table.phoneno},"(xxx) xxx-xxxx")

This was what Don meant to say, I'm sure.

-LB
 
Yes, thanks LB.

Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports

"What version of URGENT!!! are you using?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top