hi ,
I have a created a crystal report in which it has a subreport, in which i am trying to open in PDF, dynamically.For main and subreport i am using two different datasets.when i debug it wont show any debug errors, it would show a blank page. i m trying from past two days , its not working for me still. i m doin in C#.net 2003.Recently i generate a report in pdf , but it didnt have any subreports.its work for me, but not the above case which i mentioned. Can any one have a idea regarding this idea.Urgently needed
Ravi
Bechir BejaouiPosted Apr 13, 2008, 4:21 AM
Report Header Section
Page Header Section
Detail Section
Page Footer Section
Report Footer Section
You add a new subreport called mySubReport in the Page footer for example. sothat the strucutre will be
Report Header Section
Page Header Section
Detail Section
Page Footer1 Section
-mySubReport
Report Footer Section
The data binding can be done programmatically
yourReport.Subreports.Item("mySubReport").SetDataSource(yourDataSource);
or via the wizard provided by the crystal report engine