I am trying to group a record in months and years.
i.e.
Records are over two years so I want to display
Jan 2010
Feb 2010
Mar 2010
Jan 2011
Feb 2011
Mar 2011
in my query I have columns which are pulling month number and year but when I try to sort, its either sorting all the months which is fine but jan 2010 and jan 2011 records obviously show same month number.
i want to know how i first sort records by getting the earliest year, sort them in months, then the next year and sort them in months
Thanks
i.e.
Records are over two years so I want to display
Jan 2010
Feb 2010
Mar 2010
Jan 2011
Feb 2011
Mar 2011
in my query I have columns which are pulling month number and year but when I try to sort, its either sorting all the months which is fine but jan 2010 and jan 2011 records obviously show same month number.
i want to know how i first sort records by getting the earliest year, sort them in months, then the next year and sort them in months
Thanks