我在Crystal Reports上的问题 [英] My problem on Crystal Reports

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

问题描述

水晶报告我有这个问题。我用xsd来设计我的水晶报告。我想只部署rpt文件,这样无论何时生成新报告,都不会在应用程序中进行任何更改。为了在不更改应用程序的情况下将数据源传递给rpt文件,我将其设置为动态,因此如果菜单是报表,我通过添加存储过程的名称来更改动态菜单。我的问题是大多数报告应该有过滤条件,如期间,会计年度等,在显示报告之前,如何显示动态创建此过滤条件的初始表单?有没有关于如何实现这一目标的现有技术/策略?

解决方案


您可以在报告中使用参数。您将把完整数据集传递给报告,然后使用晶体参数过滤数据。否则你将不得不定义自己的提示引擎。

你必须使用数据集吗?...因为根据定义,如果你想在不改变应用程序的情况下添加报告,推送方法会更难使用。结果

I have this problem with crystal reports. I use xsd to design my crystal reports. i want to deploy only the rpt files so that whenever a new report was made, no changes will be made in the application. To pass a datasource to the rpt files without changing the application, I made it dynamic, so i've made changes to my dynamic menus by adding the name of a stored procedure if the menu is a report. My problem is most of the reports should have filter criteria like the Period, Fiscal Year, Etc.before showing the reports, how can i show initial form that dynamically creates this filter criteria? Is there any existing technique/strategy on how to achieve this?

解决方案


You could use parameters in the report. You would be passing in the full dataset to the report and then filtering the data with the crystal parameters. Otherwise you would have to define your own prompting engine.

Do you have to use dataset?..because by definition the push method woud be a lot harder to use if you want to add reports without changing the app.


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

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