I have a query that will display data based on a
particular month chosen by the end user from a combo box.
My query does not return the correct data when the user
selects January it also returns October, November and
December. I also tried using the "m" instead of "mm" in
the datepart function. Below is my query. Any help is
appreciated.
PhilipL
AS
SELECT DailySalesTotal,Location,StoreName
FROM dbo.Sales
+ '%'
+'%'
ORDER BY DailySalesTotal DESC