if e.datacol.name = "逻辑列名" then
if e.datarow("逻辑列名") = false then
if e.datarow("故障处理") is nothing or e.datarow("故障属性") is nothing then
e.cancel = true
end if
我也是菜鸟,不知道写的对不对,你试一试吧