G
Guest
Hello,
I am running a query which takes one table, formats data, and appends data
to a blank table. I am trying to format the phone number like so:
123/456-7890
I am using the replace function to change all of the () like so:
(123)456-7890
However, since there are two parentheses, I am trying to run two Replaces at
once:
NewPhone: (Replace([phone],")","/",1,1) And Replace([phone],"(","",1,1))
So basically i am replacine ) with / starting from the first character and
doing one replacement.
Can someone please check to make sure I am doing this correctly; when i run
the query I get -1 appended to each record in the phone column on the table.
Thanks in advance.
-Rob
I am running a query which takes one table, formats data, and appends data
to a blank table. I am trying to format the phone number like so:
123/456-7890
I am using the replace function to change all of the () like so:
(123)456-7890
However, since there are two parentheses, I am trying to run two Replaces at
once:
NewPhone: (Replace([phone],")","/",1,1) And Replace([phone],"(","",1,1))
So basically i am replacine ) with / starting from the first character and
doing one replacement.
Can someone please check to make sure I am doing this correctly; when i run
the query I get -1 appended to each record in the phone column on the table.
Thanks in advance.
-Rob