在C#的Crystal Report中创建子报表 [英] Create Sub Report in Crystal Report of C#

查看:123
本文介绍了在C#的Crystal Report中创建子报表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
我制作产品代码的Crystal报告,该报告显示为用户选择.如果用户一次从列表框中选择两个产品,则在报告中同时显示两个产品,并且它们的费率仅显示.

现在,我想为用户单击特定产品"的全部信息时添加子报告.显示在子报告中.有用于识别产品的product_code.

因此,如何实现显示信息的子报告链接.该用户点击主报表.


请帮帮我.


谢谢和问候...
MItesh

解决方案

请参考:
在.Net中使用Crystal Reports [ C#Crystal Reports-子报告 [在Crystal Reports中创建子报表 [使用Crystal报表创建子报表 [ ^ ]

MSDN:
将子报表添加到原始报表中 [教程:使用子报表读取和设置参数 [ ^ ]

1.右键单击报告",然后选择添加子报告"

2.将子报表放在正文部分.
3.双击子"报告.
4.将打开子报表,在该子报表中添加表格,其中将提供项目的详细信息.
5.现在,选择要显示的字段.


Hello,
i make a Crystal report of product code which is displayed as user selection. if user select two product at a time from Listbox then in report both product and their rate is display only.

now, i want to add sub report for when user click on Particular Product their entire info. is displayed in sub report. there is a product_code for product to identify.

so, how can i achieve the sub report link for display the info. that user click on main Report.


Please Help Me.


Thanks and Regards...
MItesh

解决方案

Please refer:
Working with Crystal Reports in .Net[^]
C# Crystal Reports - sub reports[^]
Create a Subreport in Crystal Reports[^]
Creating Sub-Reports Using Crystal Reports[^]

MSDN:
Adding a Subreport to the Original Report[^]
Tutorial: Reading and Setting Parameters with a Subreport[^]


1. Right click on Report and select Add Sub report

2. Place the sub Report on Body Part.
3. Double Click on Sub report.
4. Sub report will open , Add table to this sub report in which detail of item will given.
5. Now select Fields which you want to show.


这篇关于在C#的Crystal Report中创建子报表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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