Problem with Report intheriance

Stimulsoft Reports.NET discussion
Post Reply
EDV Gradl
Posts: 228
Joined: Sat Jun 17, 2006 9:50 am
Location: Germany

Problem with Report intheriance

Post 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!

Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Problem with Report intheriance

Post 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.
EDV Gradl
Posts: 228
Joined: Sat Jun 17, 2006 9:50 am
Location: Germany

Problem with Report intheriance

Post 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!
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Problem with Report intheriance

Post by Vital »

This is right order.

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

Thank you.
Post Reply