How can you have more than one expression to do stuff ? RRS feed

  • Question

  • I have an expression which changes the color based on the specific value...


    =iif(Fields!Status.Value = "Cancelled", "Red", "Black")


    The above works fine...


    How can I also say :

    if (value is "Approved" , "Green", "Red") ---> How can I say this ....


    Is there a way to do if else statement.....

    Wednesday, July 4, 2007 6:59 PM


  • =iif(Fields!Status.Value = "Cancelled", "Red",

    iif(Fields!Status.Value = "Something", "Green", "Black"))

    Thursday, July 5, 2007 1:47 AM