>Hi Raj,
>
>i think AND is logical operator.
>
>use .AND. on cWhereString, for minimize false matching, and
>
>
>'.AND.' $ UPPER(m.cWhereString)
>or
>ATC('.AND.',m.cWhereString)>0
>or
>LIKE('*.AND.*',UPPER(m.d))
>
>
>Fabio
Leave the '.'s out, and just use spaces on both sides of the AND to eliminate false positives. The .'s are so dBase. < bg >