I have 2 date/time parameters, to and from. From was set to =DateAdd(DateInterval.Year, -1, Today())
. And the other, to, was set to just =Today()
.
When I view the report, the default values are populated correctly and the report is generated correctly on first load. However, when I change the from date field, the report refreshes. If I change just the to field, it does not refresh.
Reading other suggestions on other sites, someme people mentioned creating a new dataset with something like Select GetDate() as Date
and then using that as the default value of my parameter, but that didn't work. Another was creating an internal parameter and setting it's default value to =Today()
and then using that value as my parameter's default - again, didn't work.
Anything else I might try?