Crystal Reports Subreport issue

amber

Member
Joined
Oct 27, 2004
Messages
20
Programming Experience
Beginner
Hello,
I have created a report using Crystal Reports 9 in VB.NET.
I'm having trouble with a subreport. I have created a view in SQL server, and a dataset in VB.NET based on that view.
I'm a bit confused by how sub-reports work...
I know that with my main report, I pass the VB form that contains my ReportViewer the dataset I need to populate the data.
Do I need to do the same for subreports?
I went through the process of adding another datasource, but get an error when I create a subreport based on this datasource.
Can someone tell me where to start with this??
Thanks!
Amber
 
I figured it out...

Since no-one ever replied to me, I'll answer this one myself :)

I was 'adding a database' from 'more Datasources' then choosing ADO dataset. This seemed obvious to me at the time.
Apparently I needed to add a database from the OLE DB (ADO) list instead.

*sigh*
that took DAYS to figure out!!

Cheers,
Amber
 
Back
Top