Affichage des articles dont le libellé est Need query to pickup last two months. Afficher tous les articles
Affichage des articles dont le libellé est Need query to pickup last two months. Afficher tous les articles

Need query to pickup last two months

mardi 3 mars 2015

I have a query that pulls data for the current month and the last two months. It had been working fine until 2015. The problem is that it's looking for the last two months but for 2015. How do I edit my formula to pick up the two months and for it to know it's a different year?? TIA




Code:



CMSPM2: IIf([LOB]="CMS" And Month([Month])=Month([Forms]![Main Menu]![EndDate])-2,Count([Question]),0)



Need query to pickup last two months

Labels