I have a phone field which contains ten digits, no punctuation. I wanted to end up with phone numbers in a more readable format, i.e. 729-1234 instead of 2077291234. Because someone else uses this data, I cannot change the ten digit numbers in the telephone field.
I accomplished my goal by:
Creating a new field in the table called “Phone”
Creating an update query using the Right function to pull the the seven digits on the right side of the phone number in the Telephone field and put it into the new Phone field.
Creating a second query which updates the Phone field to add the dash between the third and fourth digits using the following formula:
Left([Phone],3) & “-” & Right([Phone],4)
My question is: Could I have gotten from my ten digit Telephone to my seven digit plus dash Phone in a single step instead of two separate queries, and if so, how? I seem to run into these kind of needs often, and would like to understand better how to handle them.
Thank you,
-cynthia