The Open Query File (OPNQRYF) command has these basic rules that can prevent coding errors.
QRYSLT('INVCUS *EQ "' *CAT &K1CUST *CAT '" *AND + INVPRD *GE "' *CAT &LPRD *CAT '" *AND + INVPRD *LE "' *CAT &HPRD *CAT '"')
QRYSLT('INVCUS *EQ ' *CAT &K1CUST *CAT ' *AND + INVPRD *GE ' *CAT &LPRD *CAT ' *AND + INVPRD *LE ' *CAT &HPRD *CAT ' ')