Subreport is blank
Posted on 2013-01-05
Using Crystal Reports with Visual Studio 2008 (using Visual Basic, FWIW, but that's probably not relevant), I'm passing a dataset with a parent table and several child tables. I've created a subreport within the report (that is, it's not a separate report, but was created with Insert / Subreport / Create a subreport with the Report Wizard). The subreport is in a footer section, and is intended to provide a summation of values in a table that is not displayed on the main report.
All the value fields (from the table) in the subreport are coming up blank. The text objects display fine. I've tried putting fields in detail, groupfooter (Sum), and reportfooter (Count and Max) sections, and everything is blank. I know that there are records in the table, but the output is identical to what I get if I create a report with no records in the subreport's table. I have no links specified between the main report and the subreport, so I don't see any way that records would be filtered out.
Any ideas on how to make my data appear?