>lcFilter = "OPERATOR = " + ALLTRIM( this.Value) + " and " + ; > "END_DATE >= CTOD('" + DTOC( thisform.dStartDate) + "') or EMPTY( END_DATE)" >What's type of operator? If it's a number and This is a combo, then just remove the alltrim and replace it with a transform(). If operator is a string, you'd need
lcFilter = "OPERATOR = [" + ALLTRIM( this.Value) + "] and " + ; "END_DATE >= CTOD('" + DTOC( thisform.dStartDate) + "') or EMPTY( END_DATE)"