Solved Update telephone numbers (1 Viewer)

Number11

Member
Local time
Today, 09:57
Joined
Jan 29, 2020
Messages
607
Hello so i need to remove the "0" from telephone numbers and replace with "44"

is this possible via an update query
 

XPS35

Active member
Local time
Today, 10:57
Joined
Jul 19, 2022
Messages
159
CJ_London's solution will work in an update query. If there are numbers that do not start with 0, add a condition to query. Like:
WHERE Left(Telnr) = "0"
 

Gasman

Enthusiastic Amateur
Local time
Today, 09:57
Joined
Sep 21, 2011
Messages
14,311
Wouldn't you need the + prefix as well if 44?
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 04:57
Joined
Feb 19, 2002
Messages
43,293
Wouldn't it be better to store the international access code in a separate field?
 

Galaxiom

Super Moderator
Staff member
Local time
Today, 18:57
Joined
Jan 20, 2009
Messages
12,852
Wouldn't it be better to store the international access code in a separate field?
Depends on the purpose. The company I work for is implementing a SalesForce system that recognises the caller from the incoming phone number by looking it up in the customer database. They want me to provide the phone numbers exactly as the OP has specified.
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 04:57
Joined
Feb 19, 2002
Messages
43,293
Like everything, we have to decide whether to store the data in the most efficient way. Then we interface with the user in the way he wants. will you be storing the "1" for US numbers?
 

Users who are viewing this thread

Top Bottom