Page 1 of 1

Substract values

Posted: Fri Feb 07, 2014 8:23 am
by sharok
Hello. I can sum the values ​​in a column by the function Sum. But how to subtract?
Thanks

Re: Substract values

Posted: Fri Feb 07, 2014 8:43 am
by Alex K.
Hello,

As a way, you can use the additional variable and code in AfterPrint event:
resultVariabe -= DataSourceName.ColumnName

Thank you.

Re: Substract values

Posted: Fri Feb 07, 2014 10:06 am
by sharok
I have 11 columns and I have to add 11 variables. May be there is other way?

Re: Substract values

Posted: Fri Feb 07, 2014 1:09 pm
by Alex K.
Hello,

Yes, in this case you need add 11 variables.

Thank you.