只需单击一下按钮即可打开多个报告 [英] open multiple reports in a single button click

查看:68
本文介绍了只需单击一下按钮即可打开多个报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在单个打印按钮单击中打开多个水晶报告。



当我从下拉列表中选择发票时,我想显示所有报告(发票, PackingList,BankInvoice等...)在一个页面中。有可能??

Can I open multiple crystalreports in a single print button click.

When I am selecting an invoice no from the dropdown I want to show all reports (Invoice,PackingList,BankInvoice,etc...) In a single page. It is possible??

推荐答案

如果那些(Invoice,PackingList,BankInvoice等...)是单独的rpt文件,那么除非在单个rpt中显示,否则它是不可能的这是一个子报告。



如果你想同时显示多个报告,那么你必须使用多个水晶报告查看器



为每个rpt文件(Invoice,PackingList,BankInvoice等)输入 crystal report viewer 。 。)&在按钮点击分配适当的数据源&向这些报告查看者报告文件。就是这样,现在您可以在一个页面中看到多个报表查看器中的多个报表。
If those(Invoice,PackingList,BankInvoice,etc...) are separate rpt files then it's impossible to show in a single rpt unless it's a subreport.

If you want show multiple reports at the same time then you have to use multiple crystal report viewer.

Put crystal report viewer for each rpt file(Invoice,PackingList,BankInvoice,etc...) & in button click assign appropriate datasource & report file to those report viewers. That's it, now you could see mutiple reports in multiple report viewers in a single page.


是您可以在按钮单击事件中为所有报表打开多个报表编写代码
Yes U can Open Multiple Reports write code in the button click event for all reports


这篇关于只需单击一下按钮即可打开多个报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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