I have a Crystal Report object defined as follows:
private CrystalDecisions.CrystalReports.Engine.ReportClass rep;
I am trying to Import a SubReport into Section 1 of the report. I have tried variants of the following code:
rep.ReportClientDocument.SubreportController.ImportSubreport
There seems to be conflict between:
CrystalDecisions.CrystalReports.Engine
and
CrystalDecisions.ReportAppServer
Has anybody programmatically imported a Sub-Report in Crystal using VS2010?
For anybody else who comes across this problem, the solution is: