Originally Posted by
nick.h
Crap, I found out what caused the invalid procedure call. It was me forgetting to take out the code that sorted it by Week, Month, Quarter, and Year.
What I want to do is get a Count of all records taht were added on Monday, Tuesday, Wednesday etc.
Here is what I've changed it to so far:
Is "Prospecting Calls" a field? If so, I'd use [Prospecting Calls].
So...
SELECT [Prospecting Calls] AS VisitType, Weekday([VisitDate]) AS WD
FROM VisitInfo
WHERE (((VisitInfo.[VisitDate]) Between Date()-6 And Date()) AND ((VisitInfo.[AddedBy])=GetUser()) AND ((VisitInfo.[FormOfContact])=3))
GROUP BY [Prospecting Calls],[WD];
It doesn't work and I'm horribly confused, lol