Just started with numerical data and I cannot believe this! Below is a simple table. All I want to do is SUM QTY in the QTY column using the Query structure.
Rec_No PN Qty State
1 234562 23 NY
2 234562 450 NY
3 234568 288 FL
4 234569 45 FL
5 234344 3 NJ
This is what I get:
PN SumOfQty State
234344 3 NJ
234562 473 NY
234568 288 FL
234569 45 FL
I don't want totals on PN, just an old straight total of the Qty Column, but no soap!
SUM([Qty]) in criteria gives aggregate error. Sum from Sigma(Sum) gives the above. How does this thing just give you a simple sum of (809)?
Just entered QTY alone, and I got the correct answer, but it apparently does not work when other fields are present
Rec_No PN Qty State
1 234562 23 NY
2 234562 450 NY
3 234568 288 FL
4 234569 45 FL
5 234344 3 NJ
This is what I get:
PN SumOfQty State
234344 3 NJ
234562 473 NY
234568 288 FL
234569 45 FL
I don't want totals on PN, just an old straight total of the Qty Column, but no soap!
SUM([Qty]) in criteria gives aggregate error. Sum from Sigma(Sum) gives the above. How does this thing just give you a simple sum of (809)?
Just entered QTY alone, and I got the correct answer, but it apparently does not work when other fields are present
Last edited: