| I got it to work! Yiippiieeeeee! Below is what the end result is...
SELECT tblMonthList.DisplayMon,
Sum(IIf(Format([Received Date],"mmm")=tblMonthList.DisplayMon,1,0)) AS [Qty
Received],
Sum(IIf(Format([DueBy Date],"mmm")=tblMonthList.DisplayMon,1,0)) AS [Has Due
Date],
Sum(IIf(Format([SentOn Date],"mmm")=tblMonthList.DisplayMon,1,0)) AS [Qty
Sent]
FROM qryDeliveries, tblMonthList |
|
 |
|
 |
Group: microsoft.public.access.reports · Group Profile · Search for Dueby in microsoft.public.access.reports
Author: Rob
Date: May 13, 2010 10:20
Awesome! Thanks! However there seems to be just one thing... SELECT tblMonthList.DisplayMon, Sum(IIF(Format([Received Date],"yyyymm")= tblMonthList.MyMonth, 1, 0)) AS [Qty Received], Sum(IIF(Format([DueBy Date], "yyyymm")= tblMonthList.MyMonth, 1, 0)) AS [Has Due Date], Sum(IIF(Format([SentOn Date],"yyyymm")= tblMonthList.MyMonth, 1, 0)) AS [Qty Sent] FROM [qryDeliveries], tblMonthList
|