' ReportClassDetail is a variable linking to the Crystal Report file
' view_Detailed is the Crystal Report viewer
ReportClassDetail.SetDataSource(dtMyFilteredTable)
Me.view_Detailed.ReportSource = ReportClassDetail
Unfortunately, none of the subreports displayed any data. Only the main report show any records. Thanks anyways for the prompt reply. Hi, Erik
You just need to do one more thing...set the datasource for the subreport.
I have a generic routine that goes like this (it just examines any subreport objects in the main report object):
foreach(ReportDocument oSubReport in oMainReport.Subreports)
Give that a try...
Kevin