子报告,链接参数,登录信息和VS2005 [英] Subreport, linked parameters, logon info and VS2005

查看:75
本文介绍了子报告,链接参数,登录信息和VS2005的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用存储过程作为数据源的报告,我在运行时分配登录信息和参数值报告,报告有另一个带存储过程的子报告,参数链接到主报告。 br>
当我预览报告时,它会抛出" 缺少参数值"异常,我用调试器跟踪所有参数,只有子报表中的参数为空,这些参数链接到主报表,我认为不需要为子报表中的链接参数赋值。

同样的报表有效CR10和VS2003很好。这是VS2005中CR的错误吗?有没有其他人有同样的问题?

I've a report with use a stored procedure as a data source, and I assign logon info and parameter values to report at runtime, the report has another subreport with stored procedure, the parameters are linked to the main reports.

When I preview the report, it throws "missing parameter values" exception, I trace all paramters with debugger, only parameters in subreport are null, those parameters are linked to main report, and I think it is not required to assign value to linked parameters in subreport.

The same report works fine with CR10 and VS2003. Is it a bug with CR in VS2005? Does anyone else have the same problems?

推荐答案

我有同样的问题,期待对我来说它工作正常开发PC。它不适用于测试机器。我无法弄清楚哪个组件负责将参数传递给子报表,因为问题所在。 (我删除了子报表,报告工作正常)。
I have the same problem, expect that for me it's working fine on the development PC. It's not working on testing machine. I can't figure out which component is responsible for passing parameters to the subreport because that where the problem sits. (I removed the subreport and the report works fine).


这篇关于子报告,链接参数,登录信息和VS2005的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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