lcWord1 = "VISUAL" lcWord2 = "FOXPRO" SELECT * FROM mytable ; WHERE lcWord1 $ UPPER( memofield1) ; OR lcWord2 $ UPPER( memofield1) ; INTO CURSOR crsResultIf you want case sensitive search than remove UPPER() function and specify lcWordN in the proper case. This query could be quite slow on big tables.