G
Guest
I need to be able to search for specific sub-strings in any position in a
string. For example, in a table of product descriptions, I may need to
search "OREO" where many of the products will have product description fields
that say "NABISCO OREO COOKIES" or "OREO COOKIES" etc. I have been able to
create an InstrRev function that produces results. If "OREO" is null, the
result is 0. If the "OREO" is true, then a number is displayed showing where
in the full string "OREO" is located. My problem is trying to narrow the
results by using criteria. I tried puting the criteria "Not 0" to filter out
all of the false results and an error message displays saying "This
expression is typed incorrectly, or it is too complex to be evaluated. For
example, a numeric expression may contain too many complicated elements. Try
simplifying the expression by assigning parts of the expression to
variables." How do I filter the results to only show the true values?
string. For example, in a table of product descriptions, I may need to
search "OREO" where many of the products will have product description fields
that say "NABISCO OREO COOKIES" or "OREO COOKIES" etc. I have been able to
create an InstrRev function that produces results. If "OREO" is null, the
result is 0. If the "OREO" is true, then a number is displayed showing where
in the full string "OREO" is located. My problem is trying to narrow the
results by using criteria. I tried puting the criteria "Not 0" to filter out
all of the false results and an error message displays saying "This
expression is typed incorrectly, or it is too complex to be evaluated. For
example, a numeric expression may contain too many complicated elements. Try
simplifying the expression by assigning parts of the expression to
variables." How do I filter the results to only show the true values?