Hi I am trying to make a simple report in vb.net
I have done the following
I have a form with a report viewer (I have removed all the code from it - two lines)
I have a report which has a text box "Hello world"
I call the report as follows from my startup form
dim objFrm as new frmViewer
objfrm.ReportViewer.localreport.reportpath= "report1.rdlc"
objfrm.ReportViewer.refreshreport()
objfrm.showdialog
The report works fine.
I then add a table (tablix) to the report and bind it to an existing datasource. I have checked that this data source works (and I have deleted and readded it a couple of times)
I have added one field to the table [Client] - this appears in the drop down selection box
Now when I run the report I get the following error:
A data source instance has not been supplied for the data source "dataset1"
No matter what I do I can not get the report to now run.
Any help would be much appreciated
Regards
Ants