Hello, I'm trying to figure out how to create a Crystal Report in VB2005 using a CrystalReportVi ewer from a dataset that I created on a form Form1. The dataset (from an Access Database) appears on a DatagridView on Form1, assuring me that there is nothing wrong with thre creation of the dataset itself. However , I cannot make it appear in the Report Viewer. The error that constantly throws up is : "Report has no tables". This is my code :
Dim rpt as new CrystalReport
Dim mds As New DataSet
mds = ........ (creation of a dataset)
rpt.SetDataSour ce(mds)
CrystalReportVi ewer1.ReportSou rce = rpt
When running this code, the dataset is created and appears in a datagridvieuw, but the report remains empty.
Have I skipped a crucial step ? I would appreciate to receive help from anyone on short notice, as I have to finish a project including several reports by the end of April.
I read the answers on simmilar quetions on the forum, but I don't see the answer to my question.
Greetings !
Flupke
Dim rpt as new CrystalReport
Dim mds As New DataSet
mds = ........ (creation of a dataset)
rpt.SetDataSour ce(mds)
CrystalReportVi ewer1.ReportSou rce = rpt
When running this code, the dataset is created and appears in a datagridvieuw, but the report remains empty.
Have I skipped a crucial step ? I would appreciate to receive help from anyone on short notice, as I have to finish a project including several reports by the end of April.
I read the answers on simmilar quetions on the forum, but I don't see the answer to my question.
Greetings !
Flupke
Comment