Rss & SiteMap
Foxtable(狐表) http://www.foxtable.com
Tables("现场检查").Compute("count(审核状态)", "审核状态 = false and 录入时间 = #" & Date.today() & "#")
由于录入时间是 datetime型
所以 录入时间 = #" & Date.today() & "# 是不可能等于的
现在统计出来的都是0 请问该怎么办!
Tables("现场检查").Compute("count(审核状态)", "审核状态 = false and 录入时间 = #" & Format(date.Now() , "yyyy-M-d hh:mm:ss") & "#") 九方,格式化一下不就行了.
不错~~~~~~~~~~~
Tables("现场检查").Compute("count(审核状态)", "审核状态 = false and 录入时间 = #" & Format(date.Now() , "yyyy-M-d hh:mm:ss") & "#") 九方,格式化一下不就行了.
这样应该不行的,因为如果等于当前时间,恐怕没有一个符合条件的。