Multiple dataSet for one report
Hi!
I've been able to create many reports since a buch of time, but I've just it a wall...
I'm using this technique to produce my reports :
----------------------------
Dim myDs As New DataSet1()
Dim oRpt As New Test()
oRpt.Load()
oRpt.SetDataSource(myDs)
CrystalReportViewer1.ReportSource = oRpt
myconnection.Close()
--------------------------------
But what happen when I need to set two dataset for one report? How can I possibly do this?
Setting the dataSource a second time with my second dataset gives me a "Engine error"...
Thx a lot for your help!
|