How to I say Is Not Null in VBA

giles picture giles · Oct 3, 2011 · Viewed 207.3k times · Source

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" & Fields!W_O_Count.Value IsNotNull), "Red", "Transparent")

Answer

stuartd picture stuartd · Oct 3, 2011

Use Not IsNull(Fields!W_O_Count.Value)