=Sum(Fields!ROCKNUM.Value/Fields!SEND.Value*100)
当Fields!SEND.Value为0或者空时,显示错误号
修改:
=IIF(isnothing(Fields!SEND.Value)Or(Fields!SEND.Value=0),0,
Sum(Fields!ROCKNUM.Value/Val(Fields!SEND.Value)*100))
=Sum(Fields!ROCKNUM.Value/Fields!SEND.Value*100)
当Fields!SEND.Value为0或者空时,显示错误号
修改:
=IIF(isnothing(Fields!SEND.Value)Or(Fields!SEND.Value=0),0,
Sum(Fields!ROCKNUM.Value/Val(Fields!SEND.Value)*100))
转载于:https://www.cnblogs.com/yuking/p/3558785.html