I am trying to remove the last character using a query in access 2010. I only want to remove the last character if the lenght is 7 characters. If i use Left([CASCADE_ID],Len([CASCADE_ID])-1). I end up removing both "T" from the field that has 6 and 7 characters. I just want it to remove the "T" from the field with 7 charactes.
CT107T = do not change
CT106TT = need to change to CT106T
CT107T = do not change
CT106TT = need to change to CT106T
Comment