I have created search parameter fields that allow me to search for a single word or single word phrases (written together) in my notes field. This does work; however, I would like to take this one step further. Instead of it looking for records containing this word OR that word, I would like it to look for records which contain this word AND that word (not necessarily written together)- in a single notes field. I can't figure out how to make this work. The below is the formula (that does work) for returning single word searches. I appreciate any help.
IF INSTR (UPPERCASE({@NOTES}), UPPERCASE({?SEARCH1}))>0 THEN TRUE ELSE IF
INSTR (UPPERCASE({@NOTES}), UPPERCASE({?SEARCH2}))>0 THEN TRUE ELSE IF
INSTR (UPPERCASE({@NOTES}), UPPERCASE({?SEARCH3}))>0 THEN TRUE ELSE IF
INSTR (UPPERCASE({@NOTES}), UPPERCASE({?SEARCH4}))>0 THEN TRUE ELSE IF
INSTR (UPPERCASE({@NOTES}), UPPERCASE({?SEARCH5}))>0 THEN TRUE ELSE IF
INSTR (UPPERCASE({@NOTES}), UPPERCASE({?SEARCH6}))>0 THEN TRUE ELSE IF
INSTR (UPPERCASE({@NOTES}), UPPERCASE({?SEARCH7}))>0 THEN TRUE ELSE IF
INSTR (UPPERCASE({@NOTES}), UPPERCASE({?SEARCH8}))>0 THEN TRUE ELSE IF
INSTR (UPPERCASE({@NOTES}), UPPERCASE({?SEARCH9}))>0 THEN TRUE ELSE IF
INSTR (UPPERCASE({@NOTES}), UPPERCASE({?SEARCH10}))>0 THEN TRUE ELSE FALSE
Thank you, Kim
IF INSTR (UPPERCASE({@NOTES}), UPPERCASE({?SEARCH1}))>0 THEN TRUE ELSE IF
INSTR (UPPERCASE({@NOTES}), UPPERCASE({?SEARCH2}))>0 THEN TRUE ELSE IF
INSTR (UPPERCASE({@NOTES}), UPPERCASE({?SEARCH3}))>0 THEN TRUE ELSE IF
INSTR (UPPERCASE({@NOTES}), UPPERCASE({?SEARCH4}))>0 THEN TRUE ELSE IF
INSTR (UPPERCASE({@NOTES}), UPPERCASE({?SEARCH5}))>0 THEN TRUE ELSE IF
INSTR (UPPERCASE({@NOTES}), UPPERCASE({?SEARCH6}))>0 THEN TRUE ELSE IF
INSTR (UPPERCASE({@NOTES}), UPPERCASE({?SEARCH7}))>0 THEN TRUE ELSE IF
INSTR (UPPERCASE({@NOTES}), UPPERCASE({?SEARCH8}))>0 THEN TRUE ELSE IF
INSTR (UPPERCASE({@NOTES}), UPPERCASE({?SEARCH9}))>0 THEN TRUE ELSE IF
INSTR (UPPERCASE({@NOTES}), UPPERCASE({?SEARCH10}))>0 THEN TRUE ELSE FALSE
Thank you, Kim