Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am trying to write an if statement in my custom constraint in an input box. Currently I have the following which works fine :
=$ >vPLR
But I need to write something like the following:
=If(vUser=2,vPLR,$ >vPLR)
I realize the above is not the correct syntax but looking for help if it is possible to write an if statement in a constraint and how it would look.
Thanks,
Steve
Maybe it would work if you had another variable (e.g. vConstraint) that does the "=If(vUser=2,vPLR,$ >vPLR)" calculation and then just use the variable in the constraint setting? This way you're not actually doing the if calculation in the constraint setting but passing in the actual values that have already been calculated in the variable.
Maybe it would work if you had another variable (e.g. vConstraint) that does the "=If(vUser=2,vPLR,$ >vPLR)" calculation and then just use the variable in the constraint setting? This way you're not actually doing the if calculation in the constraint setting but passing in the actual values that have already been calculated in the variable.
Thanks Nicole. Makes perfect sense.