To all gurus,
I am developing an application in which i want to show the number
of rows returned by the query.
e.g.
Select Categories.Cate goryName, Products.Produc tName,
Sum(([Order Details].UnitPrice*[Quantity]*(1-[Discount])/100)*100) AS
ProductSales
FROM
((([Order Details] INNER JOIN Orders ON [Order Details].OrderID =
Orders.OrderID)
INNER JOIN Products ON [Order Details].ProductID = Products.Produc tID)
INNER JOIN Categories ON Products.Catego ryID = Categories.Cate goryID)
WHERE
(Orders.Shipped Date) BETWEEN '1/1/1997' AND '12/31/1997'
GROUP BY
Categories.Cate goryName, Products.Produc tName
I want the number of rows returned by this query.
How can i get the number of rows?
Please help me..
waiting for your replies..
Prem
(premratan@hotm ail.com)
I am developing an application in which i want to show the number
of rows returned by the query.
e.g.
Select Categories.Cate goryName, Products.Produc tName,
Sum(([Order Details].UnitPrice*[Quantity]*(1-[Discount])/100)*100) AS
ProductSales
FROM
((([Order Details] INNER JOIN Orders ON [Order Details].OrderID =
Orders.OrderID)
INNER JOIN Products ON [Order Details].ProductID = Products.Produc tID)
INNER JOIN Categories ON Products.Catego ryID = Categories.Cate goryID)
WHERE
(Orders.Shipped Date) BETWEEN '1/1/1997' AND '12/31/1997'
GROUP BY
Categories.Cate goryName, Products.Produc tName
I want the number of rows returned by this query.
How can i get the number of rows?
Please help me..
waiting for your replies..
Prem
(premratan@hotm ail.com)
Comment