Hello,
I am trying to figure out why I am getting different results, when I run some queries.
The first one I am summing all the positive values with a sum of 7061.13.
SELECT Sum(tblClass.Amount) AS SumOfAmount
FROM tblClass
HAVING (((tblClass.Amount)>0));
The first one I am summing all the negative values with a sum of - 7061.13.
SELECT Sum(tblClass.Amount) AS SumOfAmount
FROM tblClass
HAVING (((tblClass.Amount)<0));
The third query I am summing all the values for a value of -4.9880100050359E-12.
SELECT Sum(tblClass.Amount) AS SumOfAmount
FROM tblClass
HAVING (((tblClass.Amount)<>0));
What am I missing here?
Thanks,
Lee2004
I am trying to figure out why I am getting different results, when I run some queries.
The first one I am summing all the positive values with a sum of 7061.13.
SELECT Sum(tblClass.Amount) AS SumOfAmount
FROM tblClass
HAVING (((tblClass.Amount)>0));
The first one I am summing all the negative values with a sum of - 7061.13.
SELECT Sum(tblClass.Amount) AS SumOfAmount
FROM tblClass
HAVING (((tblClass.Amount)<0));
The third query I am summing all the values for a value of -4.9880100050359E-12.
SELECT Sum(tblClass.Amount) AS SumOfAmount
FROM tblClass
HAVING (((tblClass.Amount)<>0));
What am I missing here?
Thanks,
Lee2004