N Number11 Member Local time Today, 20:48 Joined Jan 29, 2020 Messages 623 Apr 26, 2023 #1 Hi So i need to update some telephone numbers and remove the prefix "44" 447999999999 and remove with "0"
Hi So i need to update some telephone numbers and remove the prefix "44" 447999999999 and remove with "0"
Gasman Enthusiastic Amateur Local time Today, 20:48 Joined Sep 21, 2011 Messages 17,074 Apr 26, 2023 #2 So use the string function Left() and Mid() and concatenate with 0
cheekybuddha AWF VIP Local time Today, 20:48 Joined Jul 21, 2014 Messages 3,087 Apr 26, 2023 #3 Number11 said: and remove with "0" Click to expand... Do you mean replace with "0" ? Where are your phone numbers? In a table? If so, you can do something like: SQL: UPDATE YourTable SET PhoneNumber = '0' & Mid(PhoneNumber, 3) WHERE Left(PhoneNumber, 2) = '44' ;
Number11 said: and remove with "0" Click to expand... Do you mean replace with "0" ? Where are your phone numbers? In a table? If so, you can do something like: SQL: UPDATE YourTable SET PhoneNumber = '0' & Mid(PhoneNumber, 3) WHERE Left(PhoneNumber, 2) = '44' ;
cheekybuddha AWF VIP Local time Today, 20:48 Joined Jul 21, 2014 Messages 3,087 Apr 26, 2023 #4 Oops! I've done @Gasman's bête noire and given a fish rather than a fishing rod and instruction manual (Sorry, gm!)
Oops! I've done @Gasman's bête noire and given a fish rather than a fishing rod and instruction manual (Sorry, gm!)
N Number11 Member Local time Today, 20:48 Joined Jan 29, 2020 Messages 623 Apr 26, 2023 #5 cheekybuddha said: Oops! I've done @Gasman's bête noire and given a fish rather than a fishing rod and instruction manual (Sorry, gm!) Click to expand... WORKED thanks
cheekybuddha said: Oops! I've done @Gasman's bête noire and given a fish rather than a fishing rod and instruction manual (Sorry, gm!) Click to expand... WORKED thanks