yesterday statement

Hi,

I am trying to substract one day from my current date and are having difficulties any suggestions

=IIF(Fields!DOCDATE.Value = today-1 and Fields!SOPTYPE.Value =3,Fields!XTNDPRCE.Value,

IIF(Fields!DOCDATE.Value = today-1 and Fields!SOPTYPE.Value =4,-(Fields!XTNDPRCE.Value),"0"))




Answer this question

yesterday statement

  • Ying06

    Thx a stack

  • Finch82

    The following expression calculates 'Yesterday':
    =Today.AddDays(-1)

    -- Robert



  • yesterday statement