Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
115
UltraCalcManager If statement with UltraOptionSet
posted

I'm trying to write up an if statement to check if OptionSet value is 0. If true then it needs to do the calculations, if not do another calculation.

I've written an if statement on a MaskedEdit as follows:

if ( [//methodUltraOptionSet] = 0,
([//PL1SubTotalText] *  [//percent01UltraMaskedEdit] %),
([//PL1SubTotalText] *  [//percent01UltraMaskedEdit] %))

I get an error object to set to an instance of an object.

I obviously have this formula wrong. Any guidance would be appreciated!

Thanks!