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
195
IF Statement
posted

The following formula keep giving syntax error.  Can somebody with more experience writing the formula for infragistic take a look and fix it for me.

 

if([ UnitPrice ]<>NULL,if([ UnitQuantity ]<> Null,[ UnitPrice ]*[ UnitQuantity ],0.00 ),0.00)

 

I try removing adding parentesis but keep telling expeting "(" , There some tool in infragistic that do that for me ?  Maybe I got the Tool and I dont know it. 

 

 

 

Parents
No Data
Reply
  • 195
    posted

    if(ISNULL([ UnitPrice ]),0.00,if(ISNULL([ UnitQuantity ]),0.00,[ UnitPrice ]*[ UnitQuantity ]))

     

    after several try I found one that did not get a syntax error but still get the same error problem with the null  value involve in the calculation that return system errors.   SO ISNULL did not stop to get the error.  Any Idea how to resolve this problem.

Children