M
mohsin via AccessMonster.com
Hi there
As an example, my input table and output result as below
Date AA BB AA(1+2) AA(3+4) AA
(5+6)
090308 1 0.2 0.6 1.1
1.5
090308 2 0.4 > Output
090308 3 0.5
090308 4 0.6
090308 5 0.7
090308 6 0.8
SELECT [Input].DATE, Sum(([BB])) AS [AA(1+2)]
FROM [Input]
WHERE ((([Input]![AA])="1" Or ([Input]![AA])="2"))
GROUP BY [Input].DATE;
Any idea how can I query for AA(3+4) and AA(5+6)?
Appreciate for your help
As an example, my input table and output result as below
Date AA BB AA(1+2) AA(3+4) AA
(5+6)
090308 1 0.2 0.6 1.1
1.5
090308 2 0.4 > Output
090308 3 0.5
090308 4 0.6
090308 5 0.7
090308 6 0.8
SELECT [Input].DATE, Sum(([BB])) AS [AA(1+2)]
FROM [Input]
WHERE ((([Input]![AA])="1" Or ([Input]![AA])="2"))
GROUP BY [Input].DATE;
Any idea how can I query for AA(3+4) and AA(5+6)?
Appreciate for your help