IMO
Now Known as ___
- Local time
- Today, 20:29
- Joined
- Sep 11, 2002
- Messages
- 723
Hi all,
Can anybody tell me why the following query gives me the strange results attached??
SELECT dbo_HistoryLines.Qty, dbo_HistoryLines.UnitPrice, Sum([Qty]*[UnitPrice]) AS [Qty * UnitPrice]
FROM dbo_HistoryLines
GROUP BY dbo_HistoryLines.Qty, dbo_HistoryLines.UnitPrice, dbo_HistoryLines.Date, dbo_HistoryLines.DocumentType
HAVING (((dbo_HistoryLines.Date) Between "2002-01-01" And "2002-12-31") AND ((dbo_HistoryLines.DocumentType)=3));
Thanks in advance
IMO
Can anybody tell me why the following query gives me the strange results attached??
SELECT dbo_HistoryLines.Qty, dbo_HistoryLines.UnitPrice, Sum([Qty]*[UnitPrice]) AS [Qty * UnitPrice]
FROM dbo_HistoryLines
GROUP BY dbo_HistoryLines.Qty, dbo_HistoryLines.UnitPrice, dbo_HistoryLines.Date, dbo_HistoryLines.DocumentType
HAVING (((dbo_HistoryLines.Date) Between "2002-01-01" And "2002-12-31") AND ((dbo_HistoryLines.DocumentType)=3));
Thanks in advance
IMO