laxviji143 0 Newbie Poster

hi,

i m using Data dynamics active report 3.......
i m placing a designer and a viewer in a tab control....i want to fill the detailed field of the designer programmatically from the xml..and there by assigning the designer .document to the viewer.document...
here is my code how im filling using the xml datasource...but the detailed field is not get displayed but the footer and the header are displayed...can u please help me????


DataDynamics.ActiveReports.DataSources.XMLDataSource xDS = new DataDynamics.ActiveReports.DataSources.XMLDataSource();
xDS.FileURL = "D:\\Client\\CustomReport.Client\\bin\\Debug\\TEstExportReport.xml";
xDS.RecordsetPattern = "//REPORTSTAG";
designer1.Report.DataSource = xDS;
detailedField.DataField = "REPORT_DEF_NAME";
this.designer1.Report.Run();
this.viewer1.Document = this.designer1.Report.Document;

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.