Hatchetman240
Technical User
SELECT Temp.[Tracking Number Ren], Temp.[Renewed Ticket Date], Temp.[Renewed Ticket Number], Temp.[Ren Exp Date], Temp.[Utility Locate Co], Temp.[Loc Renewal Date], Temp.FD, Temp.HD, Temp.H
FROM Temp
GROUP BY Temp.[Tracking Number Ren], Temp.[Renewed Ticket Date], Temp.[Renewed Ticket Number], Temp.[Ren Exp Date], Temp.[Utility Locate Co], Temp.[Loc Renewal Date], Temp.FD, Temp.HD, Temp.H
HAVING (((Temp.[Loc Renewal Date]) Between [Start Date ] And [End Date]));
What I am trying to do is get three totals like this:
FD HD H
1 16 8 3
With everything I have tried all I get is the list of every entry instead of just those totals. I was trying to just ignore it and total on my report, but then I realized I would need the above results for other things too.
Thanks.
FROM Temp
GROUP BY Temp.[Tracking Number Ren], Temp.[Renewed Ticket Date], Temp.[Renewed Ticket Number], Temp.[Ren Exp Date], Temp.[Utility Locate Co], Temp.[Loc Renewal Date], Temp.FD, Temp.HD, Temp.H
HAVING (((Temp.[Loc Renewal Date]) Between [Start Date ] And [End Date]));
What I am trying to do is get three totals like this:
FD HD H
1 16 8 3
With everything I have tried all I get is the list of every entry instead of just those totals. I was trying to just ignore it and total on my report, but then I realized I would need the above results for other things too.
Thanks.