>Hi, Christopher,
>
>The way I do it is to get an object reference to the report, and use the SetDataSource method of the report's Database object, like so...
>
>
>oMyReport.Database.Tables[0].SetDataSource(myDataSet.Tables["firsttable"]);
>oMyReport.Database.Tables[1].SetDataSource(myDataSet.Tables["secondtable"]);
>oMyReport.Database.Tables[2].SetDataSource(myDataSet.Tables["thirdtable"]);
>
>
>Does that help?
>Kevin
Yes but I don't know where to get the reference to the report.(oMyReport = ???)
I'm not seeing anything in the viewer that looks like a way into the report and I load the report into the viewer as a file reference. (Should I be doing that as a report object?)
Chris