Check out the AT or ATC commands...
ATC(cSearchFor,cSearchIn)
Returns 0 if not found otherwise the location of the first occurance of cSearchFor in cSearchIn.
So in SQL statement you might have where clause like...
WHERE ATC('ABC',Table.Field)>0
Enjoy. [sig]<p> Pete<br><a href=mailto:blindpete@mail.com>blindpete@mail.com</a><br><a href= > </a><br>What your mother told you is true! You will go blind! (from moonshine anyway)[/sig]