Master Detail with details not always present (solved)

Stimulsoft Reports.NET discussion
Post Reply
User avatar
Fabio Pagano
Posts: 355
Joined: Mon Apr 16, 2007 12:38 pm
Location: Bari (Italy)

Master Detail with details not always present (solved)

Post by Fabio Pagano »

I have a dataset with two tables with Master-Detail relation.

In the report i need an output like this (is very simple):

---------------
Master1
...Details1OfMaster1
...Details2OfMaster1
Master2
...Details1OfMaster2
...Details2OfMaster2
---------------

But some masters do not always have details, so i need something like (eg. Master3 has no details):

---------------
Master1
...Details1OfMaster1
...Details2OfMaster1
Master2
...Details1OfMaster2
...Details2OfMaster2
Master3
Master4
...Details1OfMaster4
...Details2OfMaster4
---------------

In the design that i have made, the "Master3" (that has no detail) is not printed.

May you help?

Thank you?
User avatar
Fabio Pagano
Posts: 355
Joined: Mon Apr 16, 2007 12:38 pm
Location: Bari (Italy)

Master Detail with details not always present (solved)

Post by Fabio Pagano »

Solved: on master databand i've setted to "True" the property "Print if no detail is present" (or something similar, i'm translating from Italian) and it has worked.

Thank you.
Post Reply