Removing dashes in phone numbers

R

Roman B.

Can anyone tell me how to remove the dashes in a phone number. My data
current data is 1-800-555-1212 and I would like to remove the 1- and have the
number as 8005551212

Thanks in advance for your help
R
 
P

pietlinden

Roman said:
Can anyone tell me how to remove the dashes in a phone number. My data
current data is 1-800-555-1212 and I would like to remove the 1- and have the
number as 8005551212

Thanks in advance for your help
R

Replace(Right$([TelNo],Len([TelNo])-2),"-","")
 
R

Roman B.

That worked perfectly....Thank you very much.

R

Can anyone tell me how to remove the dashes in a phone number. My data
current data is 1-800-555-1212 and I would like to remove the 1- and have the
number as 8005551212

Thanks in advance for your help
R

Replace(Right$([TelNo],Len([TelNo])-2),"-","")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Combining fields in Report Maintain format 3
More Help 3
Query Help 1
formatting a phone number in a string 2
Removing Line Numbers 4
remove dashes 5
Removing Dashes 2
Extract phone number from word file 2

Top