I have an Iif(isError) formula that normally works great but on a new report I'm getting some results with a #Type! error. I believe I'm getting the error because the second field in my formula is blank but I don't know how to correct my formula.
My current Formula: =IIf(IsError([BBBM].[Text]),"",[BBBM].[Text] & " (" & Replace([BBBASTMN].[Text],","," or") & ")")
For example, if BBBM is blank then the normal output for the row is empty and hidden. If BBBM = ITCS and BBBASTMN (a multi-select field) = A352,A216 then the normal output on the report is ITCS (A352 or A216) but if the field BBBASTMN is empty the output should be just ITCS but instead I'm getting #Type!.
I can't figure out how to adjust the formula to show the first field if the second field is blank. Any assistance is greatly appreciated.
Thanks,
Cori