Need help in inheritance
Posted: Tue Sep 21, 2010 8:51 am
Hi,
1. I Created a Master report with few bands as default and a dialog with 3 buttons (Print, Preview and Cancel)
and saved the report type as "CSharp files for inherited reports"
2. Using the inherited report (Report) created few child report with the following coding.
Report master = new Report();
master.Design();
3. Later on added a button(Export) to the dialog on the master report and saved the report type as "CSharp files for inherited reports"
I need above added button (Export) to get reflected on the already created child report while executing the report as well as while modifying the report. Is this possible ? if so update me how to do the same.
I tried something as below for modifying the child report, but the newly added button(Export) is not reflecting in the child report.
Report master = new Report();
master.Load(childreport1.mrt);
master.UpdateInheritedReport();
master.Design();
Thanks & Regards
Venkatesan S
1. I Created a Master report with few bands as default and a dialog with 3 buttons (Print, Preview and Cancel)
and saved the report type as "CSharp files for inherited reports"
2. Using the inherited report (Report) created few child report with the following coding.
Report master = new Report();
master.Design();
3. Later on added a button(Export) to the dialog on the master report and saved the report type as "CSharp files for inherited reports"
I need above added button (Export) to get reflected on the already created child report while executing the report as well as while modifying the report. Is this possible ? if so update me how to do the same.
I tried something as below for modifying the child report, but the newly added button(Export) is not reflecting in the child report.
Report master = new Report();
master.Load(childreport1.mrt);
master.UpdateInheritedReport();
master.Design();
Thanks & Regards
Venkatesan S