Master-Detail does not work with Nested Table

Stimulsoft Reports.NET discussion
Post Reply
Sandy Pham
Posts: 62
Joined: Mon Dec 11, 2006 1:43 pm
Location: U.S.A.

Master-Detail does not work with Nested Table

Post by Sandy Pham »

When you set DataRelations via code, the Dictionary Window shows the related tables nested underneath the main table. The tables also appear in the main datasources list. For example,

- Problem
+ Incident (nested under Problem)
+ Change (nested under Problem)

+ Incident
+ Change

When I try to create a Master-Detail report using the nested table, I get the first row's value repeated over and over again for each row that should be in the detail table.

If I instead choose the table that is on the main level, the master-detail report works fine.

What is the difference?

Thanks,

Sandy
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Master-Detail does not work with Nested Table

Post by Edward »

Please send to Image reports for the first and for the second case.

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

Master-Detail does not work with Nested Table

Post by Vital »

What you need do:

1. Remove Master DataBand.
2. Insert GroupHeaderBand
3. In condition of GroupHeaderBand place your master field

In this case you receive correct report.

Thank you.
Post Reply