=IIF((Parameters!HOSP_CODE.Value="FH","Ward Code = MAU or Team Code = MAU") OR IF(Parameters!HOSP_CODE.Value="RPH","Ward Code = AAU or Team Code = AU") OR IF(Parameters!HOSP_CODE.Value="SCGH","Ward Code = G72 or (Team Code = 07 and Dept_Code = GMED)"),"N/A")
Can anybody help me adjust the above code so that it works. It keeps giving me an error. I just want this expression to do the following in my report:
1. If the parameter FH is selected then the following text will appear within the textbox -Ward Code = MAU or Team Code = MAU
2. If the parameter RPH is selected then the following text will appear within the textbox -Ward Code = AAU or Team Code = AU
3. If the parameter SCGH is selected then the following text will appear within the textbox -Ward Code = G72 or (Team Code = 07 and Dept_Code = GMED)