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
635
Problem with calculated column in ultrawingrid
posted

Hello,

I have an ultrawingrid, and I need to add a calculated column ("column3") that is the difference between "column1" and "column2".

If I use the formula "Column2" - "Column1" I have the error "Invalid token".

If instead I use the formula "Column2" * "Column1" I haven't any error.

Is it possible to use the operator "-"?

Please help me.

Thank you

  • 469350
    Offline posted

    Hi,

    You need to identify the columns as tokens using square brackets.

    "[Column2] - [Column1]"

  • 635
    Offline posted

    Discard this post, there was something wrong in my code...