小编use*_*981的帖子

IsNothing 不适用于报告生成器中的空值

我在表中有一个表达式来检查是否有返回值。

如果查询返回空或者null我想将值设置为0。

=IIF(IsNothing(Fields!DndCount.Value),0,Fields!DndCount.Value)
Run Code Online (Sandbox Code Playgroud)

但如果查询返回空则IsNothing()不起作用。

report reporting-services ssrs-2008 reportbuilder3.0

5
推荐指数
1
解决办法
5万
查看次数