B
BrettsNEWS
Hi all, could anyone let me know how to filter out all records in a form
that are not BETWEEN two dates?
In VBA I have,
BetweenDate = "Between #1-Jan-2001# And #30-Dec-2003#"
StrCriteria = "[Order Date] = " & BetweenDate
DoCmd.ApplyFilter , StrCriteria
This comes up with Syntax error (missing operator) in query expression
'[Order Date] = Between #1-Jan-2001# And #30-Dec-2003#'.
thanks in anticipation,
Brett.
that are not BETWEEN two dates?
In VBA I have,
BetweenDate = "Between #1-Jan-2001# And #30-Dec-2003#"
StrCriteria = "[Order Date] = " & BetweenDate
DoCmd.ApplyFilter , StrCriteria
This comes up with Syntax error (missing operator) in query expression
'[Order Date] = Between #1-Jan-2001# And #30-Dec-2003#'.
thanks in anticipation,
Brett.