Multiple IF Condistions (&&)

Stimulsoft Ultimate discussion
Post Reply
David334
Posts: 26
Joined: Tue Jul 16, 2019 6:45 pm

Multiple IF Condistions (&&)

Post by David334 »

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?
Max Shamanov
Posts: 385
Joined: Tue Sep 07, 2021 10:11 am

Re: Multiple IF Condistions (&&)

Post by Max Shamanov »

Hello,

We could't reproduce the issue.
Please clarify which product and version are you use?

Thank you.
Attachments
ReportVar.mrt
(4.63 KiB) Downloaded 9 times
David334
Posts: 26
Joined: Tue Jul 16, 2019 6:45 pm

Re: Multiple IF Condistions (&&)

Post by David334 »

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.
Max Shamanov
Posts: 385
Joined: Tue Sep 07, 2021 10:11 am

Re: Multiple IF Condistions (&&)

Post by Max Shamanov »

Hello,

Hello, you are welcome.
Let us know if you need any additional help.

Thank you.
Post Reply