Nov 5, 2004 #1 tomk01 ISP Oct 18, 2004 69 US I cant seem to get this right. I'm trying to take a filed that looks like this : Field 1) 12) 12345) and chang it to look like this field 1 12 12345 ir trim or rtrim the right command? how do I use them?
I cant seem to get this right. I'm trying to take a filed that looks like this : Field 1) 12) 12345) and chang it to look like this field 1 12 12345 ir trim or rtrim the right command? how do I use them?
Nov 5, 2004 #2 PHV MIS Nov 8, 2002 53,708 FR You may try this: Left(myField, Len(myField)-1) Or this: Left(myField, InStr(myField,")")-1) 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
You may try this: Left(myField, Len(myField)-1) Or this: Left(myField, InStr(myField,")")-1) Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
Nov 5, 2004 #3 JonFer Programmer Nov 7, 2003 868 US Trim, RTrim, and LTrim just remove leading/trailing spaces. It would be nice if they accepted a parameter for other characters but they don't. John http://www.interautomateconsulting.com Upvote 0 Downvote
Trim, RTrim, and LTrim just remove leading/trailing spaces. It would be nice if they accepted a parameter for other characters but they don't. John http://www.interautomateconsulting.com
Nov 6, 2004 #4 Golom Programmer Sep 1, 2003 5,595 CA Or This Code: Replace(myField, ")", "") Upvote 0 Downvote