Help checking for Null

  • I'm not sure how to check first to see if New_Old_CC in my SSRS 2005 expression

    I tried changing:

    =IIf(Fields!New_Old_CC.Value= 1, Fields!PDC.Value,0)

    to:

    IIf(IIf(Not(Isnothing(Fields!New_Old_CC.Value) AND Fields!New_Old_CC.Value = 1), Fields!PDC.Value,0)

    I also tried:

    =IIf(IsNumeric(Fields!New_Old_CC.Value))

    AND Fields!New_Old_CC.Value = 1, Fields!PDC.Value,0)

    both times got syntax errors in VS

  • Use  MyValue = Nothing

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply