Master-Detail report only returns master rows if detail present

Stimulsoft Reports.NET discussion
Post Reply
fuhrj
Posts: 120
Joined: Wed Jun 11, 2008 12:51 pm
Location: Lancaster, Ohio

Master-Detail report only returns master rows if detail present

Post by fuhrj »

I followed the instructions in the User Manual to create a simple master-detail report.

The problem I am having is that if there is no detail data, the master row does not print.

I need the master row to always print because there may not be detail data for the record.

As a simple example, suppose I have a report that shows a list of customers (Master) and the date they last changed their information (Detail).

John Doe
Mary Doe
---> update 10/21/2011
---> update 8/1/2001
Kim Smith

In my example above, John and Kim do not print. Only Mary. I need everyone to print regardless if they changed their address.

How do I achieve this?
xss
Posts: 64
Joined: Wed Jun 10, 2009 3:03 am
Location: Austria

Master-Detail report only returns master rows if detail present

Post by xss »

hi,

you have to set the 'print if detail empty' property in the master data band.

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

Master-Detail report only returns master rows if detail present

Post by HighAley »

Hello.

Does 'Print if Detail Empty' property help you?

Let us know if you need any additional help.

Thank you.,
fuhrj
Posts: 120
Joined: Wed Jun 11, 2008 12:51 pm
Location: Lancaster, Ohio

Master-Detail report only returns master rows if detail present

Post by fuhrj »

xss wrote:hi,

you have to set the 'print if detail empty' property in the master data band.

regards
xss
Thanks, that was it.
Post Reply