Page 1 of 1

Problem with Report intheriance

Posted: Fri Feb 23, 2007 6:08 am
by EDV Gradl
Hi Team from Stimulsoft,

I got little problem with the report inheritance.

I have a master report and about 30 child report,s which are all based on the master.

All works fine.

Now i chang the master report (e.g. add a text box). When I now print the child, the change is not printed.

I have to explicitly open and save the child report in the designer and then the change will appear in the child report.

That means, every time I change something in the master report, I have to save all child reports.

Is that the intended behavior?

Thanks a lot!


Problem with Report intheriance

Posted: Fri Feb 23, 2007 6:22 am
by Vital
Please add following code before report running:

Code: Select all

childReport.UpdateInheritedReport();
We have do some changes in report engine too.

Thank you.

Problem with Report intheriance

Posted: Fri Feb 23, 2007 6:35 am
by EDV Gradl
What is the right order?

1) Loading child report

2) Setting Master report via report.master = ....

3) calling UpdateInheritedReport

or does it not matter?

Thanks!

Problem with Report intheriance

Posted: Fri Feb 23, 2007 6:39 am
by Vital
This is right order.

Please check latest build. May be you don't need this update.

Thank you.