Crystal报表不会显示数据 [英] Crystal report won't display data

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

问题描述


我正在尝试在VB 2005应用程序中运行Crystal报表。我已创建绑定到Access数据库上的单个表数据源的.rpt文件,并将CrystalReportViewer控件添加到分配给.rpt文件的ReportSource的表单。

在"设计"视图中,报表显示虚拟数据,但是当我运行应用程序并打开表单时,固定文本标题会正确显示但不会显示数据。

我是否遗漏了某些内容?
任何帮助非常感激。

Jonathan Attree

Hi
I am trying to run a Crystal report in VB 2005 app. I have created the .rpt file bound to a single table Data Source on a Access database and added a CrystalReportViewer control to a form with ReportSource assigned to the .rpt file.

In Design view the report displays dummy data but when I run the app and open the form the fixed text headings display correctly but no data is displayed.

Am I missing something?
Any help much appreciated.

Jonathan Attree

推荐答案

我有完全相同的问题,除了我使用的是SQL Server 2005.当我尝试浏览设计中的字段数据,也没有。

I have exactly the same problem, except that I am using SQL Server 2005.  When I try to browse the field data in the design, there are also nothing.

任何提示???

Johann

我一直在使用应用程序中的数据集作为报告的数据源。我创建了一个新的报告与数据库的新连接,我的问题解决了!

Johann

I have been using the dataset from the app as the datasource for the report.  I created a new report with a NEW connection to the database, my problem is solved!!


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

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