In an ssrs 2008 report, there is the following existing iif expression:
=IIF(Fields!CorrespondenceLanguage.Value = "English", IIF(IsNothing(Fields!firstDay.Value), "Thursday, August 17, 2017", Fields!firstDay_WeekDayEnglish.Value + ", " + Fields!firstDay_MonthEnglish.Value + " " + Fields!firstDay_Day.Value + ", " + Fields!firstDay_Year.Value), "")
I want to add the following to precede the existing IsNothing logic:
IIF(INSTR("066", Fields!schoolType.Value) > 0 and IIF(IsNothing(Fields!firstDay.Value), "Wednesday, August 9, 2017",
I would like the IIf expression to look like the following:
=IIF(Fields!CorrespondenceLanguage.Value = "English",IIF(INSTR("066", Fields!schoolType.Value) > 0 and IIF(IsNothing(Fields!firstDay.Value), "Wednesday, August 9, 2017", IIF(IsNothing(Fields!firstDay.Value), "Thursday, August 17, 2017", Fields!firstDay_WeekDayEnglish.Value + ", " + Fields!firstDay_MonthEnglish.Value + " " + Fields!firstDay_Day.Value + ", " + Fields!firstDay_Year.Value), "")
This logic is basically not workiing. I basically want to check if the school number = 066 and (IsNothing(Fields!firstDay.Value), I want the date to be "Wednesday, August 9, 2017". For any other school when there is not a first day set, I want the default to be
Thursday, August 17, 2017.
Thus can you show me how to change the iif expression to accomplish my goal?