Or even better <g>:
lStringInMemo = (ATC(cStringToSearchFor,MemoField)>0)
>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.
If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?
From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."
All my FoxTalk and other articles are available on my
web site.
Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.