Hi,
My environment:
Visual Studio 2008
Crystal Basic
C#
Web App.
I'm generating a report with subreport from a DataSet. The main report populates but the subreport is constantly blank.
I've tried a few ways to get it to work
With the report linked to a common identifier to return a subset and with the report unlinked to return all rows.
I've tried using separate datasets and a single dataset. I've tried using a direct database connection for the subreport instead of the dataset. It's consistently blank.
Currently I'm attempting to bind the report using the following:
customerReport.SetDataSource(dataSet); customerReport.Subreports["Transactions"].SetDataSource(dataSet.Tables["Transactions"]); CrystalReportViewer1.ReportSource = customerReport;
I'm stepping through my code and both tables have row count > 0. The design time correctly builds from the dataset.
Please, any ideas on why the subreport won't display any data?
Thank you,
Josh