TRANSFORM Sum(EveryGiftExport.Amount) AS SumOfAmount
SELECT EveryGiftExport.FileAs, EveryGiftExport.Email, EveryGiftExport.Address
FROM EveryGiftExport
WHERE (((EveryGiftExport.GiftDate) Between DateSerial(Year(Date()),Month(Date())-24,1) And Date()))
GROUP BY EveryGiftExport.FileAs, EveryGiftExport.Email, EveryGiftExport.Address
PIVOT Format([GiftDate],"yyyy-mm"); |