
Originally Posted by
ranman256
is data in the [delivery].[month] an actual month name 'july', or is it a DATE, 7/1/15?
IF its a date, then you are getting different years july 2014, and 2015.
or some other field is in the query, not showing, but causing the 2 different 'Feb's.
Hi thank you for replying.
The month holds only a number, and the delivery only holds information of the current year, 2015.
Here it is in simple terms.
Code:
SELECT Customer.[Sales Person], Delivery.Month
FROM Delivery LEFT JOIN Customer ON Delivery.Customer = Customer.[Customer Name]
GROUP BY Customer.[Sales Person], Delivery.Month;

Should I write a procedure to sum these up?
EDIT:
YIKES. Looks like Access doesnt like these names.

This data in entered from China, so I'm guessing there are formatting errors. Something to do with ASCII or similar.