B
Brett
I have a query similar to this:
SELECT Sales.ThisYear - Sales.LastYear AS SalesDifference
FROM ThisYear, LastYear;
This works fine if they are both positive. However, I have an instance
where the sales for this year is negative and last year is positive:
ThisYear: -80,000
LastYear: 20,000
Result in Access: -100,000 when it should be -60,000.
So how can I get it to subtract a positive number from a negative
number?
SELECT Sales.ThisYear - Sales.LastYear AS SalesDifference
FROM ThisYear, LastYear;
This works fine if they are both positive. However, I have an instance
where the sales for this year is negative and last year is positive:
ThisYear: -80,000
LastYear: 20,000
Result in Access: -100,000 when it should be -60,000.
So how can I get it to subtract a positive number from a negative
number?