开发者

Crystal Reports: Is it possible to sum for more than one column?

开发者 https://www.devze.com 2022-12-20 03:32 出处:网络
I work on an accounting project in .NET. I want to sum all transaction and its opening balances. I use summary but it Allows only 开发者_StackOverflow社区one column..You can summarize within formulas,

I work on an accounting project in .NET.

I want to sum all transaction and its opening balances.

I use summary but it Allows only 开发者_StackOverflow社区one column..


You can summarize within formulas, so long as the formula field is present in the report footer. When using Sum() CR knows to evaluate the expression for all records returned.

So you would create a formula for the report footer, and the formula code would be something like:

Sum({@TransactionAmt1}) + Sum({Transactions.Amount}) + Sum({@AnotherFormula});
0

精彩评论

暂无评论...
验证码 换一张
取 消