以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  异常提示后界面锁死  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=125876)

--  作者:有点甜
--  发布时间:2018/10/9 10:02:00
--  

e.DataRow("任务量") =e.DataRow("工作时间") /  e.DataRow("循环时间")

 

改成

 

If e.DataRow("循环时间") = 0 then

    e.DataRow("任务量") = Nothing

Else

    e.DataRow("任务量") =e.DataRow("工作时间") /  e.DataRow("循环时间")

End If