G
Gator
the date referenced below in code is sorting like....
September08
September07
October08
October07
instead of.....
October08
September08
October07
September07
Private Sub List13_Click()
List15.RowSource = "SELECT Format((DateDep),'mmmmyy'),
Format(SUM(Amount),'currency'), Account
FROM Deposits
WHERE (Account='" & List13 & "')
GROUP BY Format((DateDep),'mmmmyy'), Account
ORDER BY Format((DateDep),'mmmmyy') DESC;"
End Sub
I want it to sort by date and not like a string text or number....any ideas???
September08
September07
October08
October07
instead of.....
October08
September08
October07
September07
Private Sub List13_Click()
List15.RowSource = "SELECT Format((DateDep),'mmmmyy'),
Format(SUM(Amount),'currency'), Account
FROM Deposits
WHERE (Account='" & List13 & "')
GROUP BY Format((DateDep),'mmmmyy'), Account
ORDER BY Format((DateDep),'mmmmyy') DESC;"
End Sub
I want it to sort by date and not like a string text or number....any ideas???