Rss & SiteMap
Foxtable(狐表) http://www.foxtable.com
If e.DataCol.Name = "编码" orelse e.DataCol.Name = "出库日期" Then' Dim d1 As Date = Date.Today.AddMonths(-3) '减去3个月 e.DataRow("下限") = DataTables("出库单").Compute("Sum(出库数量)", "[编码] = '" & e.DataRow("编码") & " And 出库日期 >= #" & d1 & "#'") End If |
If e.DataCol.Name = "编码" Then' Dim d1 As Date = Date.Today.AddMonths(-3) '减去3个月 e.DataRow("下限") = DataTables("出库单").Compute("Sum(出库数量)", "[编码] = '" & e.DataRow("编码") & " And 出库日期 >= #" & d1 & "#'") End If |