I have 4 @if’s that I need to use to display a column correctly. I’m having problems combining the 4 @if’s. Well, it’s actually 1 @if statement but now I have one more thatement so it’s if, else, then, …another if???
How do I make this work?
Thanks,
I have 4 @if’s that I need to use to display a column correctly. I’m having problems combining the 4 @if’s. Well, it’s actually 1 @if statement but now I have one more thatement so it’s if, else, then, …another if???
How do I make this work?
Thanks,
Subject: Problem with @if
Start by posting your code!
We’ll see where we go from there.
Subject: RE: Problem with @if
Check this and implement yours, if suited.
@If(m = “1”; @If(n = “1” ; @If(p = “1”; @If(q= “1”; @True; @False); @False); @False); @False)
Subject: RE: Problem with @if
Nesting @ifs when it’s unnecessary (as in this example) is a bad practice. As Peter requested, post your code!
Subject: RE: Problem with @if
I tried this and it say their had to be an odd number of arguments.
I’m not sure I understand how you wrote this.
Subject: RE: Problem with @if
@If(Animal = “bear”; “sleuth of bears”;Animal = “bee”; “swarm of bees”;
Animal = “lion”; “pride of lions”;
Animal = “buck”; “brace of bucks”;
"bunch of " + Animal + “s”)