Hi,
I'm trying to rank my date field in this order using 20080101,20080201 etc to rank 1,2
1 20080101
2 20080201
however it want rank using 1 or 11 it is starting with 2,3 here's the sql. Any help would do; MUCH THANKS!
SELECT DCount("evt_mnth_key","TestTable","evt_mnth_key <= " & [evt_mnth_key]) AS sdate, bar.idmth
FROM TestTable RIGHT JOIN bar ON TestTable.idmonth = bar.idmth;
I'm trying to rank my date field in this order using 20080101,20080201 etc to rank 1,2
1 20080101
2 20080201
however it want rank using 1 or 11 it is starting with 2,3 here's the sql. Any help would do; MUCH THANKS!
SELECT DCount("evt_mnth_key","TestTable","evt_mnth_key <= " & [evt_mnth_key]) AS sdate, bar.idmth
FROM TestTable RIGHT JOIN bar ON TestTable.idmonth = bar.idmth;