I'm trying to build a report from a query that has some boolean fields. I want to put some text in a unbound text box after evaluating the boolean fields (put text if true).
There are 9 boolean fields which will be evaluated so there can be up to 9 "pieces" of text in the unbound text box but it's unknown which boolean fields are true. I also want to concatenate the "pieces" of text in the unbound text box. Would using multiple IIf statements accomplish this or would it stop at the first true IIf statement?
Ex: IIf([Local School Districts]=-1,"Local School Districts",IIf([Academic Educators]=-1,"Academic Educators","", .......))
Thanks in advance.
There are 9 boolean fields which will be evaluated so there can be up to 9 "pieces" of text in the unbound text box but it's unknown which boolean fields are true. I also want to concatenate the "pieces" of text in the unbound text box. Would using multiple IIf statements accomplish this or would it stop at the first true IIf statement?
Ex: IIf([Local School Districts]=-1,"Local School Districts",IIf([Academic Educators]=-1,"Academic Educators","", .......))
Thanks in advance.