TheEvilSam
Registered User.
- Local time
- Today, 18:11
- Joined
- Jan 23, 2012
- Messages
- 13
so I have a query that will insert into a table some values.
It goes as follows
INSERT INTO TblStockFinal (StockLevels)
SELECT (SUM(QrySales1.SalesByHalfPintBottleorCan))
FROM QrySales1
WHERE QrySales1.ProductID=1 OR QrySales1ProductID=2;
but this is not working.
Any Idea why.
It goes as follows
INSERT INTO TblStockFinal (StockLevels)
SELECT (SUM(QrySales1.SalesByHalfPintBottleorCan))
FROM QrySales1
WHERE QrySales1.ProductID=1 OR QrySales1ProductID=2;
but this is not working.
Any Idea why.