Page 1 of 1

How to create a report with master report dataset???

Posted: Thu May 31, 2007 4:57 am
by jayakumargr
Hi,
I want to create a report with master report dataset. so i tried following,

Master masterReport = new Master();
StiReport.ReportType = typeof(Master);
StiReport obj = new StiReport();
obj.Design();

Master is the Report Class.

It Doesn't Work ?

Please provide the solution....

Thanks in Advance,
Jayakumar

How to create a report with master report dataset???

Posted: Thu May 31, 2007 1:57 pm
by Vital
Please say me what things don't work?

Thank you.

How to create a report with master report dataset???

Posted: Thu May 31, 2007 11:05 pm
by jayakumargr
Hi,
Master Dataset not loaded in newly created report. this is the problem.(stiReport 2007.1)


Thanks in advance,
Jayakumar

How to create a report with master report dataset???

Posted: Sat Jun 02, 2007 2:18 am
by jayakumargr
Hi,
is there any solutions Found ???

How to Load Master(class) Report Dataset into Newly created Report????

Please provide the solution....

Thanks in advance,
Jayakumar

How to create a report with master report dataset???

Posted: Tue Jun 05, 2007 12:38 am
by Vital
You need register your dataset to inherited reports too. So you need use following code:

Code: Select all

Master masterReport = new Master();
StiReport.ReportType = typeof(Master);
StiReport obj = new StiReport();
obj.RegData("MyDataSet", myDataSet);<----------------
obj.Design();
Thank you.