G
Guest
I'm desigining a macro so that it will open and print the same report
multiple times. Basically, I want each report to return data with different
date ranges. I'm running into a problem with the "Where Condition" under the
OpenReport Macro Action. The Where Condition I have is:
First Report (showing results of releases between now and the next 12 months)
([qryNewReleases]![Release Date]) = Between Date() And DateAdd("m",12,Date())
Second Report (showing results of releases between now and the next 6 months)
([qryNewReleases]![Release Date]) = Between Date() And DateAdd("m",6,Date())
I keep getting errors that the expressions aren't correct. Could anyone
lend a hand and let me know what I'm doing wrong with the expression?
multiple times. Basically, I want each report to return data with different
date ranges. I'm running into a problem with the "Where Condition" under the
OpenReport Macro Action. The Where Condition I have is:
First Report (showing results of releases between now and the next 12 months)
([qryNewReleases]![Release Date]) = Between Date() And DateAdd("m",12,Date())
Second Report (showing results of releases between now and the next 6 months)
([qryNewReleases]![Release Date]) = Between Date() And DateAdd("m",6,Date())
I keep getting errors that the expressions aren't correct. Could anyone
lend a hand and let me know what I'm doing wrong with the expression?