如何使用C#在Crystal报表中动态创建摘要 [英] how to dynamically create summary in crystal reports using c#
问题描述
我是ogogesh,我创建了一个动态的Crystal报表,在该报表中,用户可以根据需要获取任意数量的列(按任何顺序排列).
例如:-我有5个复选框------
1.代码.
2.名称.
3.日期.
4.个.
5.数量
在这里,用户可以在水晶报表中以任何顺序获得所需的字段.
例如:-如果用户选中第二,第四和第五复选框,则字段将以正确的顺序显示,从1开始,如下所示.
(1名,2件,3数量)
但是我的问题是我需要显示金额摘要,用户可以在
处进行选择
任何位置.所以我需要动态显示特定列的摘要..
如果有人知道答案,请提供帮助....如何动态创建列的摘要....
hi i am yogesh and i have created a dynamic crystal report in which users can get any number of columns(and in any order) according to their need.
Eg:- i have 5 check boxes------
1.code.
2.name.
3.date.
4.pcs.
5.amount
Here user will get the desired fields in any order in crystal report.
Eg:- if user selects 2nd,4th,and 5th checkboxes, fields are shown in proper order starting from 1 as below.
(1-name,2-pcs,3-amount)
But my problem is that i need to display summary of amount, which user can select at
any position. so i need to display summary of particular column dynamically..
Please help if somebody knows the answer.... how to create summary of a column dynamically....
推荐答案
检查这些
带有动态列的晶体报告 [具有C#的动态Crystal报表 [具有带类型化数据集的动态列数的水晶报表 [ Crystal Report以显示动态列 [ C#Crystal Reports摘要字段 [
Check these
Crystal report with Dynamic Column[^]
Dynamic Crystal Report with C#[^]
Crystal Reports with Dynamic Number of Columns with Typed Dataset[^]
Crystal Report to display dynamic columns[^]
C# Crystal Reports Summary Field[^]
Actually you need to write formula for the fields(Show/hide) based on condition.
这篇关于如何使用C#在Crystal报表中动态创建摘要的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!