T
Todd Waldron
Hi all,
I have a unique problem (I think) in that I need to search a memo field for
a particular convention of Alpha/Numeric characters, extract the results to a
list, then compare the results list with another list for validation.
Basically I have a list of "valid" Alpha/Numeric codes in one field, then I
have a memo field in which end-users will type free-form text where they make
reference to the Alpha/Numeric codes from the field of "valid" codes. The
reason I need to validate the (user entered) Alpha/Numeric codes in the memo
field is that there are often mispellings. The codes in the memo field are
referenced in subsequent reports, thus they must be "valid" in order for the
information to be accurate/correct. It is very tedious to perform this
validation manually thus I was hoping to find a way to automate the process.
The Alpha/Numeric code conventions can be:
AAA### (3 alpha, 3 numeric, thus 6 characters total)
or
AAA#### (3 alpha, 4 numeric, thus 7 characters total)
All of the alpha/numeric characters in both conventions are variables, and
the position in which the codes appear with in the memo field also varies.
Thus the only constant is the character length of the codes and the
conventions themselves.
My thought is that I would have to write a function to evaluate the string
with in the memo field for the 'length' and 'convention' but not sure where
to start. Also, wondering if there is an easier way, or if this is even
possible.
Any help would be greatly appreciated.
Thanks,
Todd Waldron
Austin, Texas
I have a unique problem (I think) in that I need to search a memo field for
a particular convention of Alpha/Numeric characters, extract the results to a
list, then compare the results list with another list for validation.
Basically I have a list of "valid" Alpha/Numeric codes in one field, then I
have a memo field in which end-users will type free-form text where they make
reference to the Alpha/Numeric codes from the field of "valid" codes. The
reason I need to validate the (user entered) Alpha/Numeric codes in the memo
field is that there are often mispellings. The codes in the memo field are
referenced in subsequent reports, thus they must be "valid" in order for the
information to be accurate/correct. It is very tedious to perform this
validation manually thus I was hoping to find a way to automate the process.
The Alpha/Numeric code conventions can be:
AAA### (3 alpha, 3 numeric, thus 6 characters total)
or
AAA#### (3 alpha, 4 numeric, thus 7 characters total)
All of the alpha/numeric characters in both conventions are variables, and
the position in which the codes appear with in the memo field also varies.
Thus the only constant is the character length of the codes and the
conventions themselves.
My thought is that I would have to write a function to evaluate the string
with in the memo field for the 'length' and 'convention' but not sure where
to start. Also, wondering if there is an easier way, or if this is even
possible.
Any help would be greatly appreciated.
Thanks,
Todd Waldron
Austin, Texas