D
Dave McKie
Hi all,
I am trying to do my first Crystal Report with the bundled version of
VB.Net version 2003. I am familiar with creating reports in Crystal
version 9...so I though it would be a piece of cake. I cannot get any
data to display with the report. I am using
* a form that host's the CrystalReportViewer,
* a ReportDocument that points to the report,
* a SqlDataAdapter
* and a SqlConnection.
I have generated a dataset throught the SqlDataAdapter which created
the xsd. file. I have set the CrystalReportViewer.ReportSource to the
created report. The database is set for ADO.NET datasets and points
to the dataset
When I run the report column fields shows but no data. In the Field
Explorer, I choose Browse Field Data and it displays no data for any
of the fields.
Do I need code in the form that hosts the CrystalReportViewer?
I have tried the following 2 lines in the form load event
crPreveiwLabels.SetDataSource(dsPreviewLabels)
CrystalReportViewer1.ReportSource = crPreveiwLabels
What am I missing to generate a simple, straight forward report with
no parameters read from an ADO.NET dataset.
Any samples would be appreciated.
thanks
Dave McKie
10/28/2004
(e-mail address removed)
I am trying to do my first Crystal Report with the bundled version of
VB.Net version 2003. I am familiar with creating reports in Crystal
version 9...so I though it would be a piece of cake. I cannot get any
data to display with the report. I am using
* a form that host's the CrystalReportViewer,
* a ReportDocument that points to the report,
* a SqlDataAdapter
* and a SqlConnection.
I have generated a dataset throught the SqlDataAdapter which created
the xsd. file. I have set the CrystalReportViewer.ReportSource to the
created report. The database is set for ADO.NET datasets and points
to the dataset
When I run the report column fields shows but no data. In the Field
Explorer, I choose Browse Field Data and it displays no data for any
of the fields.
Do I need code in the form that hosts the CrystalReportViewer?
I have tried the following 2 lines in the form load event
crPreveiwLabels.SetDataSource(dsPreviewLabels)
CrystalReportViewer1.ReportSource = crPreveiwLabels
What am I missing to generate a simple, straight forward report with
no parameters read from an ADO.NET dataset.
Any samples would be appreciated.
thanks
Dave McKie
10/28/2004
(e-mail address removed)