Originally Posted by
June7
Look at my examples that use literal criteria and do not have concatenation.
Everything within two quote marks is a discrete string, starting from the leftmost, then the ' and # delimiters define text and date criteria.
Imagine how string built by an expression using concatenation will look after code executes. It should be a string like the literal examples.
Therefore the middle example is correct.
Review link on debugging techniques at bottom of my post. There are methods to help you analyse if the concatenation is correct.