Hello.
I am using a query to sort data entries and label them with their corresponding year/month. The data is then going to Excel for analysis. Each year/month entry looks like "yyyy/mm".
The access field is:
Year/Mnth: Format([Labor_MBI.WO actual finish],"yyyy/mm")
My question: I want to set Criteria for Access to output the 12 most recently completed year/month only. Thus, in 2016/09, I want access to output 2015/09 through 2016/08. On 2016/10, it would now output 2015/10 - 2016/09. and so on... I have found a few different options but nothing that has worked for me.
I'm thinking my problem is that the "yyyy/mm" is not date formatted anymore so my criteria tries didn't work... Kinda guessing now. :banghead: Thanks for any / all help!
I am using a query to sort data entries and label them with their corresponding year/month. The data is then going to Excel for analysis. Each year/month entry looks like "yyyy/mm".
The access field is:
Year/Mnth: Format([Labor_MBI.WO actual finish],"yyyy/mm")
My question: I want to set Criteria for Access to output the 12 most recently completed year/month only. Thus, in 2016/09, I want access to output 2015/09 through 2016/08. On 2016/10, it would now output 2015/10 - 2016/09. and so on... I have found a few different options but nothing that has worked for me.
I'm thinking my problem is that the "yyyy/mm" is not date formatted anymore so my criteria tries didn't work... Kinda guessing now. :banghead: Thanks for any / all help!