PhoenixDon
MIS
A clerk in my organization wants a report that shows how many customers she serviced in the last month. She doesn't want the current month, just the previous 12 months, regardless of year. I don't want her to have to enter anything. Am I going to have to right a loop and capture the current date, then DateAdd to each month? Something like this but without the loop.
SELECT Count([Customer Log].Name) AS CountOfName
FROM [Customer Log]
HAVING ((([Customer Log].[Date Seen])>=#1/1/2007# And ([Customer Log].[Date Seen])<=#1/31/2007#));
Suggestions appreciated.
Don in Phoneix
SELECT Count([Customer Log].Name) AS CountOfName
FROM [Customer Log]
HAVING ((([Customer Log].[Date Seen])>=#1/1/2007# And ([Customer Log].[Date Seen])<=#1/31/2007#));
Suggestions appreciated.
Don in Phoneix