Consider the following numbers :
M01T01-1903-0689-1
M01T01-1903-0689-2
M01T01-1906-0788-t
et al
If I use
SELECT * FROM Component Where TypRef LIKE '"& "%" & QryString & "%" '"
I can find any combination of letters or numbers except when the QryString = "-t" "-2" or just "t"
I have tried Trimming the string but with no success
Can anyone advise please
M01T01-1903-0689-1
M01T01-1903-0689-2
M01T01-1906-0788-t
et al
If I use
SELECT * FROM Component Where TypRef LIKE '"& "%" & QryString & "%" '"
I can find any combination of letters or numbers except when the QryString = "-t" "-2" or just "t"
I have tried Trimming the string but with no success
Can anyone advise please