I have a winforms applications that does some reporting using Crystal Reports for Visual Studio 2008.
I’m facing the situation where I have to add new data to one of those reports, that uses odbc as its data source.
Since the new data I have to add is quite complex to process with CR Table Designer (odbc) I’m thinking on doing all the processing by code and pass the output using a DataSet. Also, I don’t want to migrate the whole report to DataSets as data source.
I know I can’t use Odbc and DataSet on the same report but can I do this on a subreport?.
I mean, keep the main report as odbc and add a subreport with DataSets as its source?
Thanks.
I believe the answer is that yes, you can. We provide independent datasets to subreports all of the time using the report’s
Database.Tables([SubReportTableName]).SetDataSource()method.