Or you could
lStringInMemo = IIF(ATC(cStringToSearchFor,MemoField)>0,.T.,.F.)
and avoid the whole case sensitivity issue.
>Try
llStringInMemo = (lcStringToSearchFor $ MemoField)
or, to be case insensitive,
llStringInMemo = (upper(lcStringToSearchFor) $ upper(MemoField))
Cheers,
>
>Andrew
>
>
>
>>I have a memo field that has a list of report names. How can I check the memo field and see if the list contains a certian string? Thanks for the Help.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05