Switch / Choose in Expressions

  • Can someone give some examples for Switch and choose Statements to use in Expression like IIf. thanks.

    also i need to know how to check for the null value. IsNothing and IS System.DBNull.Value doesn't seem to work.

    =IIf( Fields!mmActDate.Value IS System.DBNull.Value, MonthName( Fields!mmPlanDate.Value ),MonthName( Fields!mmActDate.Value ))

    I get a warning meesage for this,

    The value expression for the textbox ‘mmActDate’ contains an error: Argument 'Month' is not a valid value.

    thanks.

  • This earlier post has details on how to use IsNothing() and also the switch statement (scroll down to the reply from pg53).

    Steve.

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

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