通过向查询提供程序来生成批量的水晶报告 [英] Generate batches of crystal reports by feeding the program with a query

查看:79
本文介绍了通过向查询提供程序来生成批量的水晶报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望根据单个表或表连接的查询生成不同的水晶报告。我试图实现这个i visual studio c#2013.



我尝试过:



我看到了一些示例,但是有一种方法可以动态生成基于查询的报告

I will like to generate different crystal reports base on queries made of a single table or join of tables. Im trying to implement this i visual studio c# 2013.

What I have tried:

I seeing some example but a way to dynamic generate the report base on the query

推荐答案

好的,让我试着生成一组水晶报告使用visual studio 2013 c#。



每个报告在查询语句方面都不同......查询可以有一个表或多个表来访问数据,但它们都引用相同的数据库。



我还没有看到如何通过读取包含查询的文件来生成此报告的示例我想在检索数据时传递适配器。



这可能.....我知道Crystal Report中有一个数据库专家向导可以让你编辑您编写查询的命令属性....是否有Crystal Report工具中的一个类,我可以实例化和操作吃了属性....
Ok let see Im trying to generate a group of crystal reports using visual studio 2013 c#.

Every report is different in terms of the statement of the query..... the query can have one table or multiples tables to access the data, but they all reference the same database.

I haven't come across an example on how to generate this reports by reading a file which will contain the query I will like to pass the adapter when retrieving the data.

Is this possible..... I know there a Data Base expert wizard in Crystal Report that allows you to edit a command property where you write the query.... Is there a class from the Crystal Report tool that I can instantiate and manipulate the properties....


这篇关于通过向查询提供程序来生成批量的水晶报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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