There is a field in the table which should contain a single name of a person, however the table has been filled with so many permutations in this field, that its a real headache as to how I can construct a like statement.
DONATO, Spain, red t-shirt, DIMITRI
DONATO, Spain, red t-shirt, number 10
DONATO, Spain, red t-shirt, number10, DIMITRI
Above is shown three records as an example. I had to construct a like statement which included a Left$,26 statement in order to retrieve all the DONATO records in the query.
However, in my query I am trying to find and individuals name, therfore my using a trim would never find the records with DIMITRI in them.
How do I get over the problem? Many thanks
DONATO, Spain, red t-shirt, DIMITRI
DONATO, Spain, red t-shirt, number 10
DONATO, Spain, red t-shirt, number10, DIMITRI
Above is shown three records as an example. I had to construct a like statement which included a Left$,26 statement in order to retrieve all the DONATO records in the query.
However, in my query I am trying to find and individuals name, therfore my using a trim would never find the records with DIMITRI in them.
How do I get over the problem? Many thanks