DO case CASE !EMPTY(lcdept) SET FILTER TO INLIST(planrep.dept,&lcdept) additive CASE !EMPTY(lcseason) SET FILTER TO INLIST(planrep.season,&lcseason) additive CASE !EMPTY(lcfactory) SET FILTER TO INLIST(planrep.factory,&lcfactory) additive CASE !EMPTY(lccountry) SET FILTER TO INLIST(planrep.country,&lccountry) additive ENDCASESeems to work fine!!