H
hafeez
The following is a simplified example of my Union Query
SELECT F.Group1 AS G1, Count(F.Name) AS C1, 0 AS C2
FROM qryF AS F
WHERE (CRITERIA 1)
GROUP BY Group1;
UNION
SELECT F.Group1 AS G1, 0 AS C1, Count(F.Name) AS C2
FROM qryF AS F
WHERE (CRITERIA 2)
GROUP BY Group1;
Is there a way I can change all occurances of 'Group1'-
I've tried using the 'PARAMETERS' but instead of
reading 'F.Group2 AS G1' it reads it as '"F.Group2" AS G1'
and that's not what I want.
TIA
Hafeez
SELECT F.Group1 AS G1, Count(F.Name) AS C1, 0 AS C2
FROM qryF AS F
WHERE (CRITERIA 1)
GROUP BY Group1;
UNION
SELECT F.Group1 AS G1, 0 AS C1, Count(F.Name) AS C2
FROM qryF AS F
WHERE (CRITERIA 2)
GROUP BY Group1;
Is there a way I can change all occurances of 'Group1'-
'Group2' (which is a different field in 'qryF')?
I've tried using the 'PARAMETERS' but instead of
reading 'F.Group2 AS G1' it reads it as '"F.Group2" AS G1'
and that's not what I want.
TIA
Hafeez