I have a list box in a form with the following Row Source:
Code:
"Between Date() And Date()-6";"This Week";"Between Date() And Date()-30";"This Month";"Between Date() And Date()-90";"This Quarter"
which is supposed to run a query.
If I use "Between Date() And Date()-6" in the search in the query it works, but if I try to use it in the list box, I get an error that "The expression is typed incorrectly, or is too complex to be evaluated".
What am I doing wrong?
I also tried...
Code:
">=DateAdd("m";-3;Date())";"Past Quarter";">=DateAdd("m";-1;Date())";"Past Month";">=DateAdd("d";-7;Date())";"Past Week"