J
Joy
I'm trying to make a query that totals bi-monthly rather then monthly, can't
quite get it. Any help would be greatly appreciated.
This is want I'm playing with
SELECT DISTINCTROW Format$([ReceiptDetails].[CDate],'mmm yyyy') AS [CDate
By Month], Sum(ReceiptDetails.Fee) AS [Sum Of Fee], Count(*) AS [Count Of
ReceiptDetails]
FROM ReceiptDetails
WHERE (((ReceiptDetails.CDate) Between [Forms]![OpeningPage]![List21] And
[Forms]![OpeningPage]![EndDate]))
GROUP BY Format$([ReceiptDetails].[CDate],'mmm yyyy'),
Year([ReceiptDetails].[CDate])*12+DatePart('m',[ReceiptDetails].[CDate])-1;
quite get it. Any help would be greatly appreciated.
This is want I'm playing with
SELECT DISTINCTROW Format$([ReceiptDetails].[CDate],'mmm yyyy') AS [CDate
By Month], Sum(ReceiptDetails.Fee) AS [Sum Of Fee], Count(*) AS [Count Of
ReceiptDetails]
FROM ReceiptDetails
WHERE (((ReceiptDetails.CDate) Between [Forms]![OpeningPage]![List21] And
[Forms]![OpeningPage]![EndDate]))
GROUP BY Format$([ReceiptDetails].[CDate],'mmm yyyy'),
Year([ReceiptDetails].[CDate])*12+DatePart('m',[ReceiptDetails].[CDate])-1;