I am currently counting multiple values in the same field and sorting by SiteID # (SitID), but I would like to also sort by month. How can I do this?
Example:
Date
---------------
January
February
March
April
Etc.
I want to be able to sort by Site ID (SitID) and month.
Current script that is sorting by SiteID (SitID):
sql = "SELECT FinLog.LoaSta, Count(FinLog.SitID) AS Records FROM FinLog GROUP BY FinLog.LoaSta, FinLog.SitID HAVING (((FinLog.SitID)='"&SitID&"')) ORDER BY FinLog.LoaSta DESC"
~ Chris
Example:
Date
---------------
January
February
March
April
Etc.
I want to be able to sort by Site ID (SitID) and month.
Current script that is sorting by SiteID (SitID):
sql = "SELECT FinLog.LoaSta, Count(FinLog.SitID) AS Records FROM FinLog GROUP BY FinLog.LoaSta, FinLog.SitID HAVING (((FinLog.SitID)='"&SitID&"')) ORDER BY FinLog.LoaSta DESC"
~ Chris