Master-Detail bug

Stimulsoft Reports.Flex discussion
Locked
hugo
Posts: 359
Joined: Fri Mar 08, 2013 10:46 am

Master-Detail bug

Post by hugo »

Hello,

I have a master-detail report:
- DataBand on page header to display data about the master on every page
- Body of the report (details)
- Page footer to display static text and data from the master on every page

I started face a severe problem about wrong master data on the first page footer and only on the first page, so I finally managed to find out the origin of the problem: I had a some masters without details in my data source. I already fixed the data source and the error went away from the report however this should be also addressed on your report engine because I could really want to have masters without details (for some reason) or if not, could easily see this mistakes on the report but much worse is to show wrong data.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Master-Detail bug

Post by HighAley »

Hello.

There is a Print If Detail Empty property of the Data band that should help you.

Thank you.
hugo
Posts: 359
Joined: Fri Mar 08, 2013 10:46 am

Re: Master-Detail bug

Post by hugo »

OK, thank you.

Nevertheless I think this is a bug. It's like the master with empty detail it's merged with the first master. However I fixed this case on the data source.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Master-Detail bug

Post by HighAley »

Hello.

We have added the Print If Detail Empty property specially for such cases.

Thank you.
Locked