houstonbill
Technical User
- Nov 6, 2006
- 92
I have been struggling for 2 days over something that should be so easy. I have a report based on a query as follows:
SELECT QryOnSite.FirstName, QryOnSite.LastName, Sum(QryOnSite.CountOfOnSite) AS SumOfCountOfOnSite, QryOnSite.[Employee ID], Sum(QryOnSite.[Visit Duration]) AS [SumOfVisit Duration], QryOnSite.Name, Format$([CallDate],"mmmm yyyy",0,0) AS MoEnd
FROM QryOnSite
GROUP BY QryOnSite.FirstName, QryOnSite.LastName, QryOnSite.[Employee ID], QryOnSite.Name, Format$([CallDate],"mmmm yyyy",0,0);
I cannot seem to get my report to go with Jan, Feb, etc. It is either ascending starting with April or decending. My sorting and grouping for the report has "Name" as the primary sort with "MoEnd" as my secondary sort - ascending. I have tried everything. Any thoughts??
SELECT QryOnSite.FirstName, QryOnSite.LastName, Sum(QryOnSite.CountOfOnSite) AS SumOfCountOfOnSite, QryOnSite.[Employee ID], Sum(QryOnSite.[Visit Duration]) AS [SumOfVisit Duration], QryOnSite.Name, Format$([CallDate],"mmmm yyyy",0,0) AS MoEnd
FROM QryOnSite
GROUP BY QryOnSite.FirstName, QryOnSite.LastName, QryOnSite.[Employee ID], QryOnSite.Name, Format$([CallDate],"mmmm yyyy",0,0);
I cannot seem to get my report to go with Jan, Feb, etc. It is either ascending starting with April or decending. My sorting and grouping for the report has "Name" as the primary sort with "MoEnd" as my secondary sort - ascending. I have tried everything. Any thoughts??