How to manually sum values in DBCrossTab?
Hi, my problem is connected with summimg time in DBCrossTab. I've got an idea, but I don't know how to implement it.
So I have DBCrossTab, let's say it's like that:
I know that I FastReport gives me ability to sum these values automaticly, but I can't use this ability in my problem. I have to do some operations before summing.
So the question is: how to sum these rows manually?
So I have DBCrossTab, let's say it's like that:
RowName | Val1 | Val2 | Val3 | Total
--------------------------------------------------------
Row 1 | 1 | 5 | 3 | 9
--------------------------------------------------------
Row 2 | 4 | 3 | 3 | 10
I know that I FastReport gives me ability to sum these values automaticly, but I can't use this ability in my problem. I have to do some operations before summing.
So the question is: how to sum these rows manually?
Comments
How to sum values but not all the columns, for example, only 2 and 3 columns.
Or sum all columns, and then subtract value from 1 column.
Unfortunately, I do not know where is the column, which I do not want to count. I have to check her name.