gdanalakshmi
Registered User.
- Local time
- Today, 04:32
- Joined
- Nov 26, 2002
- Messages
- 102
I have a field that is of type yes/no.
My SQL view of the query is as follows:
SELECT Count(QryRptMac.VioceMAC_ID) AS CountOfVioceMAC_ID, Sum(QryRptMac.Handset_New) AS SumOfHandset_New
FROM QryRptMac
HAVING (((Sum(QryRptMac.Handset_New))=True));
My result is
FirstColumn SecondColumn
34 -12
Sum result of the second column is -12. Why is it a negative result instead of 12
My SQL view of the query is as follows:
SELECT Count(QryRptMac.VioceMAC_ID) AS CountOfVioceMAC_ID, Sum(QryRptMac.Handset_New) AS SumOfHandset_New
FROM QryRptMac
HAVING (((Sum(QryRptMac.Handset_New))=True));
My result is
FirstColumn SecondColumn
34 -12
Sum result of the second column is -12. Why is it a negative result instead of 12