iff returning #error

  • Hi

    I have the following set as the Expression value in a report field.

    =

    IIf(Fields!DOWL.Value <> "" and Fields!Adm_Non_Admit_Flag.Value = "X - Path",DateAdd("d",126,Fields!DOWL.Value),

    DateAdd("d",126,Fields!clockStart.Value) & " - " & DateDiff("d",Fields!clockStart.Value,NOW()))

    The reports runs but the value returned is #Error.

    I know the indervidual parts are correct as tried them indervidually.

    IS there something wrong with structure of my script.

    Thanks in advance

  • sorted, ignore. Thanks

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

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