开发者

Crystal Report Report Footer Issue?

There is a field called "Total cost" for each Group(which is Dept in this case).I have summed up the individual values of this field "Total Cost" in the group footer for each group, which give me aggregate total cost of each group at the group footer .Now I want to summarize the report with just Dept name i.e group name and the aggregate total (sum of total cost field of that group) in the report. Could anyone please furnish some开发者_Go百科 sample code? Thanks in advance.


I believe what you want is group summary in report footer i.e. you want to display all department names along with total cost for the department at the end of report - right? AFAIK, only way to achieve this would be to use a sub-report in the report footer.

You may use the same query/dataset for your sub-report, have same group(s) but no details section, only group summary fields and no page-breaks on groups. Alternate way is to use different query that would give the summarized output (i.e. grouping at database level).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜