C
Chuck
I have a table that looks like this:
Column1:
140b-b1
140b-b2
140b-b3
140b-aa1
140b-aa2
180c-a1
180c-a23
I want to put a drop-down list in a form that will contain a portion of the
string values found in Column1. Essentially the portion I want is
everything up to the last character.
e.g.:
140b-b
140b-aa
180c-a
Since the amount of characters after the dash will vary and the amount of
digits at the end will also vary, I am having problems in getting this to
work. I tried using the Right function along with either the InStr and
InStrRev functions but the latter don't appear to take wildcards.
Does anyone have any ideas?
Thanks
Column1:
140b-b1
140b-b2
140b-b3
140b-aa1
140b-aa2
180c-a1
180c-a23
I want to put a drop-down list in a form that will contain a portion of the
string values found in Column1. Essentially the portion I want is
everything up to the last character.
e.g.:
140b-b
140b-aa
180c-a
Since the amount of characters after the dash will vary and the amount of
digits at the end will also vary, I am having problems in getting this to
work. I tried using the Right function along with either the InStr and
InStrRev functions but the latter don't appear to take wildcards.
Does anyone have any ideas?
Thanks