问题描述
我使用的是C#,MySQL和Crystal Reports。
I am using C#, MySQL and Crystal Reports.
我是Crystal Reports的新用户,试图生成客户的月度报表。我创建了一个存储过程,将返回发票号码和金额,这是罚款,显示很多发票号码和金额。
I am new to Crystal Reports and trying to generate monthly statement of customer. I have created a stored procedure which will return invoice number and amount, which is fine, showing many invoice number and amount.
但我需要通过调用另一个存储过程来显示发票的详细信息。如果发票号码1包含10个产品,则需要在下面的下一行显示产品名称。我不知道这是否可以使用水晶报表或不。我在互联网上搜索这个。但没有多少信息。
But I need to show details of invoice by calling another stored procedure. Like if invoice number 1 contains 10 product then need to show product name in next line underneath. I don't know if this is doable using Crystal Reports or not. I have searched on internet about this. But not much information.
推荐答案
在水晶报表中使用子报表
在主报表中,关于子报告,取决于主要的结果?
Using sub report in crystal report,In main report you have the detailed just for the main, but how about the sub report that depend on the result of the main?
我做了一些混合报告之前和使用子报告,但我没有通过阅读一些研究和教程。所有我知道你必须依赖于你的公式在水晶报告主报告和子报告有一个公式参数。
i did some complixed report before and used sub report too but i did it will through reading some research and tutorials. All i know is you have to depend on your formula at crystal report Both main report and subreport has a formula parameter.
这篇关于动态Crystal子报表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!