Hi,
How can I do to use IIF with more than one condition. for example, if I want to test the values, A, B, C = x,
{IIF(xxxxx=="A" <-- how can I use OR for B, and C
IIF(xxxxx=="A" || xxxxx=="B" || xxxx="C", "x", .......
Do I use || as OR, but how would be the syntax?
thank you.
IIF - 2or+ conditions
-
- Posts: 35
- Joined: Mon Jan 29, 2018 11:04 am
-
- Posts: 7338
- Joined: Tue Mar 20, 2018 5:34 am
Re: IIF - 2or+ conditions
Hello,
You can use the following operators in c#:
|| - or, && - and
https://docs.microsoft.com/en-us/dotnet ... -operators
Thank you.
You can use the following operators in c#:
|| - or, && - and
https://docs.microsoft.com/en-us/dotnet ... -operators
Thank you.
-
- Posts: 35
- Joined: Mon Jan 29, 2018 11:04 am
Re: IIF - 2or+ conditions
Hi Lench, thank you, but I am looking for a standard stilmulsoft funcion, like using IIF, as the same as I mentioned in the first post.
{IIF(xxxxx=="A" || xxxxx=="B" ||....) - this is not working. any other hints.
thank you.
{IIF(xxxxx=="A" || xxxxx=="B" ||....) - this is not working. any other hints.
thank you.
-
- Posts: 7338
- Joined: Tue Mar 20, 2018 5:34 am
Re: IIF - 2or+ conditions
Hello,
Please send us a sample report with test data that reproduces the issue for analysis.
Thank you.
Please send us a sample report with test data that reproduces the issue for analysis.
Thank you.