none
Error while passing Date variable into report. RRS feed

  • Question

  • Dear All. 

    I have a question.

    With  a parameter: ngaytruyvan type Date ,when I pass the variable NULL to the lower expression =iif(ISNOTHING(Parameters!ngaytruyvan.Value), CDATE(dateadd("d",-1,Now).ToString("yyyy MMMM dd"), CDATE(dateadd("d",-1,Parameters!ngaytruyvan.Value).ToString("yyyy MMMM dd"))

    . it show an ERROR.

    why? I think it has to show :CDATE(dateadd("d",-1,Now).ToString("yyyy MMMM dd")

    pls help me.

    Thank all



    Saturday, November 16, 2019 12:48 AM

All replies