I am trying to to create an expression that compares dates and a string. This expression uses an and, if, and or statement. I am trying to acheive a 1 if the value returns true but always returns a null value when i run it can anyone help? Thanks. Here's the expression: IF($F{RFS_GRADE_CODE} == "EE" && $F{STU_ENR_ENTRY_DATE}.before( $P{EffDate} ) && $F{STU_ENR_EXIT_DATE} ==null || $F{STU_ENR_ENTRY_DATE}.before( $P{EffDate}) && $F{STU_ENR_EXIT_DATE}.after( $P{EffDate}) ,"1","0")