kentwoodjean
Technical User
Have a crosstab with criteria for most recent 12 months. Here is the parameter information:
Between (DateSerial((Year(Now())-1),Month(Now()),1)) And (DateSerial((Year(Now())),IIf(Month(Now())=1,12,Month(Now())-0),1))
I need to make a slight change to accomodate the fact that my data does not arrive until about the 15th of the following month (I.e. June data will come about 7/15). My user puts in the date parameter that they are looking for and we want to see that date/year on the report so I am not just using month (I.e. May, June,) for my field name.
Right now when I run the query, I get 07/04 - 05/05 data.
What minior adjustment might I need to do with the above to allow me to retrieve the data by year-month? I tried several different changes, and I am not getting it right. Thanks.
Between (DateSerial((Year(Now())-1),Month(Now()),1)) And (DateSerial((Year(Now())),IIf(Month(Now())=1,12,Month(Now())-0),1))
I need to make a slight change to accomodate the fact that my data does not arrive until about the 15th of the following month (I.e. June data will come about 7/15). My user puts in the date parameter that they are looking for and we want to see that date/year on the report so I am not just using month (I.e. May, June,) for my field name.
Right now when I run the query, I get 07/04 - 05/05 data.
What minior adjustment might I need to do with the above to allow me to retrieve the data by year-month? I tried several different changes, and I am not getting it right. Thanks.