G
Guest
this is the code i have in my outer query
SELECT T1.[Vendor Number], (SELECT COUNT(*)
FROM [tblGrantCompletion] AS T2
WHERE T2.[Vendor Number] = T1.[Vendor Number]
AND T2.[ZEZA] = TRUE) AS CountOfMonths, T1.theMonth
FROM tblGrantCompletion AS T1
WHERE (((T1.ZEZA)=True) AND (((SELECT COUNT(*)
FROM [tblGrantCompletion] AS T3
WHERE T3.[Vendor Number] = T1.[Vendor Number]
AND T3.[ZEZA] = TRUE))>=6))
ORDER BY T1.[Vendor Number];
(this is the outer right)
Where do I put the where clause?
I have done the cancell=is null thing. But I have to do the Where clause
along with the cancel= right?
SELECT T1.[Vendor Number], (SELECT COUNT(*)
FROM [tblGrantCompletion] AS T2
WHERE T2.[Vendor Number] = T1.[Vendor Number]
AND T2.[ZEZA] = TRUE) AS CountOfMonths, T1.theMonth
FROM tblGrantCompletion AS T1
WHERE (((T1.ZEZA)=True) AND (((SELECT COUNT(*)
FROM [tblGrantCompletion] AS T3
WHERE T3.[Vendor Number] = T1.[Vendor Number]
AND T3.[ZEZA] = TRUE))>=6))
ORDER BY T1.[Vendor Number];
(this is the outer right)
Where do I put the where clause?
I have done the cancell=is null thing. But I have to do the Where clause
along with the cancel= right?