Home Subreports
New Blog Posts: Merging Reports - Part 1 and Part 2

Report with a Master- Datail-Datapipelines: Records in Masterpipeline are supressed when Detailpipel

edited December 2003 in Subreports
Hi all!

I use a Report with 2 Datapipelines: A Master- and a Detailpipeline. The
Report is controlled by the Mastepipeline. In the Detailbend i display Data
of the Masterpipeline and use a Subreport, to print the Data of the
Detailpipeline. So far so good. But: Every Time the Detailbend of the
Mainreport receives Data where there are no Data in the Detaibend, the
current Data of the Masterrecord is supressed.

Example:
Masterdata Detaildata
M1 M1-D1
M1-D2
M2 M2-D1
M3-D2

The printout is
M1
M1-D1
M1-D2
M2
M2-D1
M2-D2

Ist is korrekt, but if i have

Masterdata Detaildata
M1
M2 M2-D1
M3-D2
The prointout is:
M2
M2-D1
M2-D2

There is a "property NoDataBehaviors: TppNoDataBehaviors" which allows the
set the behavior of th "onNoData"-Event of the Report. I tried to set this
Property in the Report.Beforeprint-Eventhandler, but iu allways get an error
when compiling the RAP-Code.

Does anyone know who to solve the Problem?

Many thanks

Wolfram Kulterer

Comments

  • edited December 2003
    For the detail datapipeline you need to set SkipWhenNoRecords to False.

    If you are using the Data workspace, you can double-click the visual link
    and use the Line dialog to configure this setting.


    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.