>>>Does the order in which you set the datasources for a main report and its sub-reports matter? I am passing the populated DataSets of several business objects to a report and the data for the main report is not displaying. The sub-reports are displaying correctly.
>>>
>>>I also tried setting the tables explicitly in the main report:
>>>
>>>
>>>report.Database.Tables[0].SetDataSource(BillingTotal.DataSet.Tables[0]);
>>>report.Database.Tables[1].SetDataSource(BillingTotal.DataSet.Tables[1]);
>>>
>>
>>
>>You can try:
>>
>>report.SetDataSource(BillingTotal.DataSet)
>>
>
>Thanks for the suggestion Mike. That's how I had it initially.
I had a CR problem once and had to contact their support. I was told that is the only way you should do it. I don't know if I buy into that or not, but it seemed to fix my problem at the time.