动态Crystal Reports报告 [英] Dynamic Crystal Reports report

查看:83
本文介绍了动态Crystal Reports报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我必须在VB.NET 2005中创建一个动态的Crystal Reports报表.我有一个数据库(.mdb,MS Access)和其中的许多表.表也​​可以动态增加.

我需要根据用户选择的类别生成报告.
例如,如果用户从组合框中选择一项,则Crystal Reports中的分组应根据其选择.您还能告诉我有关用于生成动态报告的任何类和方法的信息吗?

提前谢谢.

-JD

Hi,

I have to create a dynamic Crystal Reports report in VB.NET 2005. I have a database (.mdb, MS Access) and many tables in it. Also the tables could increase dynamically.

I need to generate reports as per the user''s choice of a category.
E.g., if the user chooses an item from a combo box, then the grouping in Crystal Reports should be according to its choice. Could you also tell me about any classes and methods to use to generate dynamic reports?

Thanks in advance.

-JD

推荐答案

首先在该表上创建一个主键列,或使用该主键列查找表中的值,并在使用fiil填充您的表时使用fillby用于更新代码表的dataadapter.它将自动排列数据,并根据您的要求显示您的客户需求.

prasad :-D
first create a primary key column on that table or use the primary key column to find the value in it and use fillby as you used fiil to fill your dataadapter for updating the table in the code. it will automatically arange the data and so will display as per your client requirements as you told.

prasad :-D


这篇关于动态Crystal Reports报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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