水晶报表中的主子关系 [英] Master child relation in crystal report

查看:67
本文介绍了水晶报表中的主子关系的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我有使用Crystal Report和ASP.net的任务
我在水晶报表中遇到问题,因为我仍然是新手,以前从未使用过它.

我用sql在存储过程中每月制作一些主数据报告,例如数据透视表.
因此报告将生成如下数据:

Quote:
类型|一月|二月|三月
=========================
xxxx | 1500 | 0 | 1500
yyyy | 1800 | 1200 | 1230
zzzzz | 1200 | 0 | 1400


我想在1月点击1500,这将调用一些报告详细信息.
报告详细信息将在1月包含一些详细信息类型"xxxx".
问题是,我不知道如何在文本1500中创建超链接,我也不知道如何传递参数来检索详细报告.

详细报告将需要2个参数:
1.Type =可以,因为我只选择type字段.
2.月=这是我不知道.因为在字段1月,2月,3月只有每个月的总和.


这个问题仍然让我感到困惑.
有人可以帮助我吗?

hi all,i have task using Crystal Report and ASP.net
i have problem in crystal report because i still newbie and never use it before.

i make some master report like pivot table with sum per month with store procedure in sql .
so report will generate data like this:

Quote:
Type | January | February | March
===========================
xxxx |1500 | 0 |1500
yyyy |1800 | 1200 |1230
zzzzz |1200 | 0 |1400


i want to clik number 1500 in january and this will call some report detail .
the Report Detail will contain some detail type ''xxxx'' in January.
the problem is,i don''t know how to make hyperlink in text 1500 and i don''t know how to pass parameter to retrieve detail report.

the Detail Report will need 2 parameter:
1.Type= this is ok,because i only select type field.
2. Month= this is i don''t know . because in field January,February,March only have Sum per month .


this problem still make me confuse.
anyone can help me?

推荐答案

检查这些

C#Crystal Reports-子报告 [ C#Crystal Reports-按需子报表 [ ^ ]
Check these

C# Crystal Reports - sub reports[^]
C# Crystal Reports - on demand sub reports[^]


这篇关于水晶报表中的主子关系的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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