Page 1 of 1
If condition on Input: Calc
Posted: Thu Feb 01, 2018 11:07 am
by sandeepgumudelli
Hi,
Is it possible to apply if condition on input: Calc field.
example: if (a=0) then b*c else a*c.
Regards,
Sandeep
Re: If condition on Input: Calc
Posted: Thu Feb 01, 2018 11:37 am
by admin
Sandeep,
No mate it isn't.
Steven.
Re: If condition on Input: Calc
Posted: Thu Feb 01, 2018 11:41 am
by sandeepgumudelli
Found it...
Here it is:
( a == 0 ) ? (b * c) : (a * c)
Regards,
Sandeep
Re: If condition on Input: Calc
Posted: Thu Feb 01, 2018 11:48 am
by toms
Cool solution

Re: If condition on Input: Calc
Posted: Thu Feb 01, 2018 6:55 pm
by admin
Sandeep,
My apologies.
I completely forgot that Calc had ? and :
Well done!
Steven