M
Mario Cirillo via AccessMonster.com
Hello all
I have a criteria like this in my query
Like "*" & Forms![Form1]![searchField] & "*"
Basically it will return any record which contain the word which is typed in
the search field. This works fine if only one word is typed in. I was
wondering if anyone knew how i could break down the string that is typed in
the search so the criteria would take each word in tern and see if it appears
(Like). So it would be a and or as opposed to just or as a field could
contain one of the words or both of the words.
If that makes any sence?
Any feedback would be greatly appriciated.
Thanks
Mario
I have a criteria like this in my query
Like "*" & Forms![Form1]![searchField] & "*"
Basically it will return any record which contain the word which is typed in
the search field. This works fine if only one word is typed in. I was
wondering if anyone knew how i could break down the string that is typed in
the search so the criteria would take each word in tern and see if it appears
(Like). So it would be a and or as opposed to just or as a field could
contain one of the words or both of the words.
If that makes any sence?
Any feedback would be greatly appriciated.
Thanks
Mario