Original :: Tom Ellison :: 2006-01-07 20:02
> Dear Terry:
>
> I recommend you drop the CStr function and see what it does. Please come
> back here with results of that.
>
> Tom Ellison
[snip]
>> The query is defined as:
>> PARAMETERS [@SearchTerm] Text;
[quoted text clipped - 6 lines]
>> OR
>> (ProDescription Like ("*" & [@SearchTerm] & "*"));
[snip]
> objCmd.CreateParameter("@SearchTerm", adVarWChar,
> adParamInput,
> Len(p_strMySearchTerm), p_strMySearchTerm)
Thanks for your input Tom. I removed the CSTR function but I
saw no change whatsoever. The query still works when ran
directly from Access, but not when called from the ASP code.