You are right Leigh. My fault, but if I use
DoCmd.OpenReport "rptExecutedProject", acPreview, ,strSQL
still I get all the data in the report and if I use (the strWhere is also known)
DoCmd.OpenReport "rptExecutedProject", acPreview, strWhere
then MS Access complains that the string is too long