melaniecarr23
Programmer
I have this statement on my report, and it's not working out. Here is what I have:
=iif([max_visits]>0, "You have a max of "&[max_visits]&" visits per year." AND iif([used_visits]>0,[used_visits]" have been used.",""),iif([pocket_max]>0,"You have an out of pocket max of $"&[pocket_max]&".","Your max visits are based on medical necessity",""))
I would assume the problems are due to trying to use an AND statement inside the THEN section of my original if statement. I'd really like this to be one control so they write clean like a paragraph.
Can I do something like this, or do I really need to have a few controls to cover this many statements?
Thanks!
=iif([max_visits]>0, "You have a max of "&[max_visits]&" visits per year." AND iif([used_visits]>0,[used_visits]" have been used.",""),iif([pocket_max]>0,"You have an out of pocket max of $"&[pocket_max]&".","Your max visits are based on medical necessity",""))
I would assume the problems are due to trying to use an AND statement inside the THEN section of my original if statement. I'd really like this to be one control so they write clean like a paragraph.
Can I do something like this, or do I really need to have a few controls to cover this many statements?
Thanks!