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

Why the master band not print when detail is empty ?

edited July 2004 in Subreports
I have got 3 linked tables (master - detail - detail )

I want to print this 3 tables using subreports like this :

Master
subreport1 (detail 1 )
subreport2 (detail 2 - details of detail 1 )

when detail 2 dataset is empty, report does not print detail 1 band and skip
it . But I must print all records of detail 2 .
How can I print detail 2 , when the detail 3 is emtpy ?

I m using end user DADE / Rb 7.04

Thanks,

Comments

  • edited July 2004

    To control whether the master record prints when there are no detail
    available, you need to set the detail DataPipeline.SkipWhenNoRecords
    property to False.

    When using Dade, you can do this via the Link dialog. Access the Data
    workspace, position the mouse over the visual link and double-click. Or
    position the mouse over the detail dataview, press the right mouse button
    and select the 'Link...' menu option from the context menu. From the Link
    dialog you can select the option to include all master records.


    --
    Nard Moseley
    Digital Metaphors Corporation
    www.digital-metaphors.com



    Best regards,

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