Feb 9, 2005 #1 leadpro Technical User Jan 7, 2005 34 US I need a better understanding of Replace in an update query. I have several characters I need to find and remove from phone numbers, such as: ( ) - In a nutshell, I need a string of 10 digits.
I need a better understanding of Replace in an update query. I have several characters I need to find and remove from phone numbers, such as: ( ) - In a nutshell, I need a string of 10 digits.
Feb 9, 2005 #2 PHV MIS Nov 8, 2002 53,708 FR [Field name]=Replace(Replace(Replace([Field name],'(',''),'-',''),')','') Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244 Upvote 0 Downvote
[Field name]=Replace(Replace(Replace([Field name],'(',''),'-',''),')','') Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
Feb 9, 2005 #4 PHV MIS Nov 8, 2002 53,708 FR Wouldn't regex be better Sure, at the expense of an UserDefinedFunction. Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244 Upvote 0 Downvote
Wouldn't regex be better Sure, at the expense of an UserDefinedFunction. Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244