简体   繁体   English

在Crystal报表中使用多个数据源

[英]use multiple data source in crystal report

There are 3 procedures. 共有3个步骤。 One is having personal detail , Second is having business detail and third contains transaction done by person . 一是具有个人详细信息二是具有业务详细信息三是包含由个人完成的交易 In crystal report , i want to use these procedures. crystal report ,我要使用这些过程。 Yes, in single report. 是的,在单个报告中。 Requirement is, display personal detail and business detail only on first page when person changes. 要求是,当人员更改时,仅在首页上显示个人详细信息和业务详细信息。 display all transaction done by person. 显示所有由人员完成的交易。 all 3 data sources contains person_id. 所有3个数据源都包含person_id。 Person detail, Business detail and transaction detail, then new page and repeat the same. 人员详细信息,业务详细信息和交易详细信息,然后新建页面并重复相同的步骤。 This is what i want. 这就是我要的。 I am using Visual Studio 2008, C#, WEB_App, SQL-SERVER with basic experience of crystal report. 我正在使用Visual Studio 2008, C#, WEB_App, SQL-SERVER和Crystal Report的基本经验。 tried some sub-report and grouping but not getting what i want. 尝试了一些子报告和分组,但没有得到我想要的。 Need Help or Suggestion. 需要帮助或建议。 Thanks in Advance...!! 提前致谢...!!

Got it. 得到它了。 Adding all data sources with link on person_id. 添加所有带有person_id链接的数据源。 add grouping on basic detail of person_id. 在person_id的基本详细信息上添加分组。 added sub report for business detail and set sub report link on person_id. 添加了有关业务详细信息的子报告,并在person_id上设置了子报告链接。 below that added for transaction detail. 低于为交易明细添加的价格。 removed data source of business detail from main report. 从主报告中删除了业务明细的数据源。 Thanks for View...!! 感谢查看...!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM