I created two reports using the ICRDesigner, FundMaster and FundSub. I then inserted FundMaster as a subreport. The datasources are two ADO recordsets created from stored procedures. The VB program attempts to show the report(s) in the CRViewer.
I have verified that I am getting records back from the stored procedures, and that the lnking data is present in both reports.
If I set the CRViewer ReportSource to the subreport, the correct data is shown. When I set the ReportSource to the main report, I get data for the main report and a blank space for the subreport. This happens whether I link the subreport or not.
Can anyone tell me how to solve this problem? Any help will be greatly appreciated.
I have verified that I am getting records back from the stored procedures, and that the lnking data is present in both reports.
If I set the CRViewer ReportSource to the subreport, the correct data is shown. When I set the ReportSource to the main report, I get data for the main report and a blank space for the subreport. This happens whether I link the subreport or not.
Can anyone tell me how to solve this problem? Any help will be greatly appreciated.