C If D1FIND <> *Blank and
C :%Xlate(L_Case:U_Case:D#SFLN)) = *Zero
C Eval RecFound = *Off
...where the field to be searched is D#SFLN, and may contain both upper and lower case text. The field containing the word to search for is D1FIND, which can only contain upper case text. The code will turn OFF the indicator field RecFound if the search word is NOT found in the field to be searched.
So, if your address line contains 'Combo loads on truck' and your search field contains 'COMBO', this scan will convert the D#SFLN data to all upper case, then conduct the scan, and will find the search term in the string.
This was first published in April 2008