Microsoft
Software
Hardware
Network
Question : Date Sorting
Hi,
I have a query, qry12 there I have a field [Month] I need to sort the date values like as below. Please help.
May-07
Jun-07
Jul-07
Aug-07
Sep-07
Oct-07
Nov-07
Dec-07
Jan-08
Feb-08
Mar-08
Apr-08
May-08
Jun-08
Jul-08
Aug-08
Sep-08
Oct-08
Answer : Date Sorting
SELECT Format([Month], "yyyy-mm") AS Month2
FROM qry12
GROUP BY Format([Month], "yyyy-mm")
ORDER BY Format([Month], "yyyy-mm")
Random Solutions
How to Submit HTML Form in VB.Net
How to save textbox items in XML
Add calculated column to subform data sheet
SQL qyestion
The SUM function requires 1 argument.
Lost User Id and Password for Windows Server 2003 Standard Edition
How to reset inheritance on all Sharepoint subsites?
Can't change formatting in a form...
Wrong user being shown when file is locked
Vista Boot Error