以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  时间段条件求和  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=139352)

--  作者:有点蓝
--  发布时间:2019/8/12 10:39:00
--  
方法1、使用find获取最小最大时间:http://www.foxtable.com/webhelp/topics/0396.htm
2、使用compute获取最小最大时间:http://www.foxtable.com/webhelp/topics/0393.htm

--  作者:有点蓝
--  发布时间:2019/8/12 13:44:00
--  
内部表和access,把日期的单引号改为#

Dim Filter As String = "[成品编码] = \'" & e.DataRow("成品编码") & "\' and [发货日期] >= #" & e.DataRow("开始时间") & "# And [发货日期] <= #" & e.DataRow("结束时间") & "#"