I am trying to create a Query that has a date period with a criteria of Where Between 200209 and 200302 (Sep 02 to Feb 03)
Problem is I need to see sales for this period split e.g.
Sep02 Sales Oct 02 Sales Nov 02 Sales etc
When I have done a similair query in SQL Server Analyzer I used the following statement:
Select sum(case when salesperiod = 200209 then sellvalue end) as Sep02Sales
I have tried going into the SQL view in Access and inputting this kind of statement but keep getting errors.
Is there anything that I can use to split the dates?
Hope this makes sense.
Thanks
Donna
Problem is I need to see sales for this period split e.g.
Sep02 Sales Oct 02 Sales Nov 02 Sales etc
When I have done a similair query in SQL Server Analyzer I used the following statement:
Select sum(case when salesperiod = 200209 then sellvalue end) as Sep02Sales
I have tried going into the SQL view in Access and inputting this kind of statement but keep getting errors.
Is there anything that I can use to split the dates?
Hope this makes sense.
Thanks
Donna