Impy wrote:
this may be a stupid question...
how do I create a parameter query that is the equivalent of
where x contains "something" and the results return all entries that
have the word something anywhere in the field
I know I can use Like with an * but I'd rather not.
Why don't you want to use Like with an * ? As that is the obvious and
regular answer to the question.
SELECT anything FROM yourtable WHERE x Like '*something*'
If you want to pass the something part as parameter, the SQL looks like this
SELECT anything FROM yourtable WHERE x Like '[yourparameter]'
and you should supply the *'s with the parameter value. I haven't got
this working in another way.
--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
I prefer human mail above automated so in my address
replace the queue with a tea