Apr 7, 2011 #1 socalshpr IS-IT--Management Apr 7, 2011 1 US Hello and Welcome to the world of ERP where there is no state code. The State is always embedded in a address line with the City. The pattern is City, State eg Anaheim, CA How do I only get the State to show up Thanks!
Hello and Welcome to the world of ERP where there is no state code. The State is always embedded in a address line with the City. The pattern is City, State eg Anaheim, CA How do I only get the State to show up Thanks!
Apr 7, 2011 #2 Turkbear Technical User Mar 22, 2002 8,631 US Create a formula like: Code: @State Right({Addressline,2}) To Paraphrase:"The Help you get is proportional to the Help you give.." Upvote 0 Downvote
Create a formula like: Code: @State Right({Addressline,2}) To Paraphrase:"The Help you get is proportional to the Help you give.."
Apr 7, 2011 #3 senweb Programmer Apr 7, 2011 7 for clear understanding, i am assigning your address line to a variable x x = "Anaheim, CA" x = Mid(x, InStr(x, ",") + 1, Len(x)) output of x = " CA" regards, thiru(dot)in(at)gmail(dot)com Upvote 0 Downvote
for clear understanding, i am assigning your address line to a variable x x = "Anaheim, CA" x = Mid(x, InStr(x, ",") + 1, Len(x)) output of x = " CA" regards, thiru(dot)in(at)gmail(dot)com
Apr 7, 2011 #4 fisheromacse IS-IT--Management May 4, 2009 910 US +1 turkbear. if there is the possibility of trailing spaces after the state initials, add TRIM, like this: Right(TRIM({Table.Addressline}),2) Upvote 0 Downvote
+1 turkbear. if there is the possibility of trailing spaces after the state initials, add TRIM, like this: Right(TRIM({Table.Addressline}),2)
Apr 7, 2011 #5 Turkbear Technical User Mar 22, 2002 8,631 US Hi, Nice addition fisheromacse , I was wondering if I should have done that... To Paraphrase:"The Help you get is proportional to the Help you give.." Upvote 0 Downvote
Hi, Nice addition fisheromacse , I was wondering if I should have done that... To Paraphrase:"The Help you get is proportional to the Help you give.."