Crystal Reports查看器中的空白参数面板 [英] Blank Parameter Panel in Crystal Reports Viewer

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

问题描述

我正在构建一个基于Web的(ASP .NET)应用程序来显示水晶报表。报表本身是在Crystal Reports XI中构建的,我在Visual Studio 2010中工作。它工作,但报表左侧显示的参数面板为空,例如。它不显示任何参数,即使报表包含其中的几个,并且在生成报表之前会提示用户输入其值。我发现一些信息,这可能是由用于生成这些报告的水晶报表(XI)的旧版本引起的,事实上,在Visual Studio 2010中编写的测试报告的参数显示正确。

I'm building a web based (ASP .NET) application to display Crystal Reports. The reports itself have been build in Crystal Reports XI and I'm working in Visual Studio 2010. It's working but the Parameter Panel visible on the left of the report is blank, eg. it does not display any parameters even though the report has a few of them and the user is prompted to enter their values before the report is generated. I've found some information that this might be caused by an old version of Crystal Reports (XI) used to produce those reports and, indeed, a test report written in Visual Studio 2010 has its parameters shown correctly.

我的问题是:如何使这项工作无需重写报告?我试图在Visual Studio中打开一个现有的报告并保存,它给了我一个警告,这是报告的当前版本比上一个更新,但它没有解决问题。有任何想法吗?

My question is: How can I make this to work without rewriting the reports once again? I tried to open up an existing report in Visual Studio and saving it, it gave me a warning that this the current version of the report is newer than the previous one, however it didn't solve the issue. Any ideas?

推荐答案

我似乎找到了一个解决这个问题的解决方案(虽然不是很理想)。基本上,在Crystal Reports => 2008或Crystal Reports for Visual Studio中,通过右键单击参数字段,我们可以选择编辑,然后选择在(查看器)面板上显示选项(在Crystal Reports XI中不可用)。将此设置为可编辑或只读将在参数面板中显示此参数(默认为不显示)。如果任何人有一个更好的主意(比编辑所有的报告),我将不胜感激。

I seem to have found a solution to this problem (although it's not ideal). Basically, in Crystal Reports => 2008 or Crystal Reports for Visual Studio, by right - clicking on a parameter field we can choose Edit and then the 'Show on (Viewer) Panel' option (not available in Crystal Reports XI). Setting this to Editable or Read Only will show this parameter in the Parameter Panel (default is 'do not show'). If anybody has a better idea (better than editing all of the reports) then I'd be grateful.

这篇关于Crystal Reports查看器中的空白参数面板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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