子报表不显示数据 [英] Subreport not displaying data

查看:123
本文介绍了子报表不显示数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Crystal报表是在Visual Studio 2008中生成的.我已经链接了子报表参数,并且当我从Visual Studio中的报表预览器运行该报表时,一切运行正常.

My Crystal Report is generated in Visual Studio 2008. I've linked the subreport parameters and everything runs fine when I run it from the report previewer within visual studio.

但是当我将报表部署到生产服务器时,即使主数据运行良好,子报表也根本没有任何数据.是什么导致子报表在生产服务器上停止工作?

But when I deploy the report to the production server, the sub-reports don't have any data at all, even though the main data runs fine. What might be causing the subreports to stop working on the production server?

推荐答案

  1. 您是否检查了数据源的主报告和子报告?
  2. 您是否检查了主报表中是否嵌入了子报表?
  3. 如果未嵌入Sub报表,您是否进行了部署?
  4. 您使用多少个参数以及哪种类型的日期,字符串,整数...
  5. 您得到什么错误?这应该给您一些指导,以寻找问题所在.
  6. 您能否尝试其他一些子报告而不是失败的子报告.

最后,使用旧的计算机技巧.删除子报表,然后再次创建/嵌入.

And finally, use the old computer trick. Remove the sub report and then create/embed it again.

这篇关于子报表不显示数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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