Master Detail report with business objects.

Stimulsoft Reports.Silverlight discussion
Locked
sabahat
Posts: 83
Joined: Sat Aug 13, 2011 11:20 pm

Master Detail report with business objects.

Post by sabahat »

Hi,

I've build a master detail report using business objects in silverlight and I did as was stated in Stimulsoft docs and videos.
The problem is that when the master record does not include any details, the master record is not rendered on the report, in other words only master records containing detail records are displayed.
Is this the intended behavior ? Is there any workaround for showing all records?

Thanks,
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Master Detail report with business objects.

Post by HighAley »

Hello.
sabahat wrote:I've build a master detail report using business objects in silverlight and I did as was stated in Stimulsoft docs and videos.
The problem is that when the master record does not include any details, the master record is not rendered on the report, in other words only master records containing detail records are displayed.
Is this the intended behavior ? Is there any workaround for showing all records?
Please, send us a sample application with report and business objects for analysing.

Thank you.
sabahat
Posts: 83
Joined: Sat Aug 13, 2011 11:20 pm

Master Detail report with business objects.

Post by sabahat »

Hi,

I've attached a sample project to this post.
This issue only occurs if the child list is an empty list. If the child list is null, the parent record renders as expected.

Thanks.
Attachments
1319.MasterDetailStiReport.rar
(26.06 KiB) Downloaded 373 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Master Detail report with business objects.

Post by Alex K. »

Hello,

Please try to set the PrintIfDetailEmpty property of master databand to true.

Thank you.
sabahat
Posts: 83
Joined: Sat Aug 13, 2011 11:20 pm

Master Detail report with business objects.

Post by sabahat »

Hi,

It's working fine now.

Thank you for your help.
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Master Detail report with business objects.

Post by Andrew »

Hello,

Excellent.

Thank you for letting us know about this.
Locked