What code will delete the first character of a string of alphabetical characters which may be 1-50 characters in length? The code I am using now works fine unless the first character is the only character and then it tells me that the field can’t be blank. Which it can. It seems to mean that the string it is returning can’t be blank. Isn’t there a simple way to say edit this field and delete first character?
this works unless there is no 2nd character for it to return
Dim KRNT As String
KRNT = [C4R]
MKRNT = Mid$(C4R, 2, 50)
C4R = MKRNT
I tried Right$ and Left$ But they returned the 1st or last characters. Right$ would work if the string was always the same length but it varies and I can’t figure out how to make it deal with that.
TX