doesnt seem to work with my query as i get the user to enter a date and the results are based on that date entered. here is the query
SELECT Shift.Field1, Sum(Main.Shift) AS SumOfShift
FROM Shift INNER JOIN Main ON Shift.ID = Main.Shift
WHERE (((Month([main].[date]))=([ENTER MONTH])))
GROUP BY Shift.Field1, Shift.ID, Month([Date]);