Im trying to make a variable based on two other variables. Both variables are boolean.
Trying to make the variable use Expression.
I tried
Variable1 && Variable2 ? true : false
I tried
Variabl1 == true && Variable2 == true ? true : false
I tried
IIF(Variable1 && Variable2, true, false)
IIF(Variabe1 == true && Variable2 == true, true, false)
Nothing seems to work other than ugly nested IF conditions that are hard to read and write.
Does this software not allow && and || in expressions?
Multiple IF Condistions (&&)
-
- Posts: 527
- Joined: Tue Sep 07, 2021 10:11 am
Re: Multiple IF Condistions (&&)
Hello,
We could't reproduce the issue.
Please clarify which product and version are you use?
Thank you.
We could't reproduce the issue.
Please clarify which product and version are you use?
Thank you.
- Attachments
-
- ReportVar.mrt
- (4.63 KiB) Downloaded 42 times
Re: Multiple IF Condistions (&&)
I ended up getting my result using multiple text boxes and using conditions to enable or disable them. I'm not sure why my IF conditions were not working, but I suspect there is something else going on I am not aware of.
I appreciate you taking the time to look into it though.
I appreciate you taking the time to look into it though.
-
- Posts: 527
- Joined: Tue Sep 07, 2021 10:11 am
Re: Multiple IF Condistions (&&)
Hello,
Hello, you are welcome.
Let us know if you need any additional help.
Thank you.
Hello, you are welcome.
Let us know if you need any additional help.
Thank you.