Hello people, what a pleasent day it is.
I was wondering if you could help me with this simple query.
Here's my table:
tblMain
ID-----SalesExec----PPP
001---John-----------0
002---John-----------1
003---John-----------1
004---John-----------1
005---Fred-----------0
006---Fred-----------0
007---Fred-----------1
008---Pat------------1
009---Pat------------0
010---Pat------------0
Simple query:
Count '1' in PPP column = PPP_TakeUp
Count ID to get total records = Total
Query result:
qryPPP_TakeUp
SalesExec ----PPP_TakeUp--------Total
John-----------3----------------------4
Fred-----------1----------------------3
Pat-------------1---------------------3
Any help appreciated!

I was wondering if you could help me with this simple query.
Here's my table:
tblMain
ID-----SalesExec----PPP
001---John-----------0
002---John-----------1
003---John-----------1
004---John-----------1
005---Fred-----------0
006---Fred-----------0
007---Fred-----------1
008---Pat------------1
009---Pat------------0
010---Pat------------0
Simple query:
Count '1' in PPP column = PPP_TakeUp
Count ID to get total records = Total
Query result:
qryPPP_TakeUp
SalesExec ----PPP_TakeUp--------Total
John-----------3----------------------4
Fred-----------1----------------------3
Pat-------------1---------------------3
Any help appreciated!
Last edited: