Page 1 of 1

Need help in inheritance

Posted: Tue Sep 21, 2010 8:51 am
by Venkatesan
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

Need help in inheritance

Posted: Thu Sep 23, 2010 4:46 am
by Ivan
Hello,

We have identified the reason of the problem: The file of the "CSharp files for inherited reports" type was incorrectly saved.
The problem is solved.
Please check the next release on the next week when it will be available and let us know about the result.

Thank you.