如何以下列格式显示Crystal Report上的数据? [英] How to show data on Crystal Report in following format ?

查看:71
本文介绍了如何以下列格式显示Crystal Report上的数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一张桌子,以下列格式存储学生的标记数据。



------------------ ------------------------------------

| Sr.No |数学|物理学|化学|生物学| Sem No. |

| 1 | 55 | 54 | 78 | 59 | 1 |

| 2 | 48 | 75 | 49 | 56 | 2 |

-------------------------------------- ----------------



我想以下列格式在Crystal Report上显示这些数据。



主题名称Sem - 1 Sem - 2

数学55 48

物理54 75

化学78 49

生物学59 56



请帮我实现这个目标。

提前致谢。

I have a table which stores student's marks data in following format.

------------------------------------------------------
|Sr.No |Maths |Physics |Chemistry |Biology |Sem No.|
|1 |55 | 54 | 78 | 59 |1 |
|2 | 48 | 75 | 49 | 56 |2 |
------------------------------------------------------

I want to show this data on Crystal Report in following format.

Subject Name Sem - 1 Sem - 2
Maths 55 48
Physics 54 75
Chemistry 78 49
Biology 59 56

Please help me to achieve this.
Thanks in advance.

推荐答案

你好,

在你的情况下,有两种方法可以获得这个输出。

一个是你的数据源就是这种格式,就像你的数据表包含这种格式(subject,Sem-1,sem-2)。将该数据表绑定到水晶报告。



另一个是使用交叉标签报告。
Hello,
In your case there is 2 ways to get this output.
One is that in your data source is this format like your datatable contain this format(subject,Sem-1,sem-2). Bind that datatable to crystal report.

Another is Use Cross tab report for this.


这篇关于如何以下列格式显示Crystal Report上的数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆