简体   繁体   中英

How to write a group statement that shows if Payer = 'Residential Options' or 'Residential Options ICF',Facility, else '' )

This is my code **=IIF(Fields.Payer,Value = "Residential Options" OR "Residential Options ICF". RTRIM(Fields,Facility,Value) ,"", " ") **

Facility (Will need to do a formula: if Payer = 'Residential Options' or 'Residential Options ICF', Facility, else '' )

You'll need to use the Field in the OR - there's nothing like the IN in SQL server that lets the user have multiple choices.

=IIF(
    Fields!Payer.Value = "Residential Options" OR Fields!Payer.Value = "Residential Options ICF"
    ,RTRIM(Fields!Facility.Value) 
    ,""
    ) 

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM