thanks for your continued work on finding a solution for me. When I place both extracts of SQL code in, I get the same error message with both.“Syntax error (missing operator) in query expression ‘s.SALEDATE’ - I think it related to the 3 line. What can I try to fix this missing operator? Thanks...