June 15, 2015 at 8:30 am
Hi
Trying to keep a running total on below([View As]) field
so instead of having
program1
program1
program1
program2
program2
I would like to have
Program1 , 3
Program2 , 2
Hopefully I've explained this correctly
Thanks
Joe
SELECT Programs.[View As]
FROM Programs
INNER JOIN ProgramSites ON Programs.ObjectID = ProgramSites.Program
INNER JOIN ClientCases ON ProgramSites.ID = ClientCases.Program_Site
WHERE (ClientCases.[Discharge Date] IS NULL)
OR (ClientCases.[Discharge Date] IS NULL)
June 15, 2015 at 8:58 am
Wouldn't a simple COUNT with a GROUP do the trick for you?
--Jeff Moden
Change is inevitable... Change for the better is not.
June 15, 2015 at 9:06 am
Yes it would...:)
Sorry, Rainy Monday morning...
Thanks
June 15, 2015 at 9:09 am
jbalbo (6/15/2015)
Yes it would...:)Sorry, Rainy Monday morning...
Thanks
Heh... not a problem and right there with you. I thought I might be missing something because I answered prior to my second cup of coffee. 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply