![]() |
#2
lowxiong2014-02-09 22:31
|
sql1 = "select 酒店名称,sum(送货单总额) from 财务应收 where 日期 between '" & DTPicker1.Value & "' and '" & DTPicker2.Value & "'and 入账日期 is null and 送货数量 is not null group by 酒店名称"""
Adodc1.RecordSource = sql1
Adodc1.Refresh
我想让日期between 的2个日期也显示在datagrid上,与每条记录相对应,请问我这个语句该如何写才能达到目地谢谢啊!