How to I say Is Not Null in VBA

前端 未结 2 1596
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-07 16:13

Hi I have the following expression. I\'m trying to say \"if the second field Is Not Null\". Can you help.

Thanks

=Iif((Fields!approved.Value = \"N\"          


        
相关标签:
2条回答
  • 2021-01-07 17:02

    Use Not IsNull(Fields!W_O_Count.Value)

    0 讨论(0)
  • 2021-01-07 17:02

    you can do like follows. Remember, IsNull is a function which returns TRUE if the parameter passed to it is null, and false otherwise.

    Not IsNull(Fields!W_O_Count.Value)
    
    0 讨论(0)
提交回复
热议问题