![]() |
#2
madpbpl2007-12-21 00:41
|
Conn.exeCute("select sum(a) from sr where year(b)='"&year(date())&"' and month(b)='"&month(date())&"' and day(b)='"&day(date())&"'")(0)
我用上面的方法合计出当日的A(金额),怎么样合计出上一天的A(金额)呢?
有高人指点下好吗?