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

SkipWhenNoRecords

edited October 2001 in General
Hi

I have the following report setup. A master report with two detail
subreports. Both subreports are linked to the same master table. The
following Scenarios for the 'SkipWhenNoRecords' property of the two Detail
DBPipeline components are possible.

Scenario 1: (NOT Safe Option)

MASTER
SUB1 (SkipWhenNoRecords = True)
SUB2 (SkipWhenNoRecords = False)

Scenario 2: (Safe Option)

MASTER
SUB1 (SkipWhenNoRecords = False)
SUB2 (SkipWhenNoRecords = True)

Am I right when I say Scenario 1 is Safe and Scenario 2 is NOT Safe? If we
look for instance at Scenario 1 - Will SUB2 be generated if SUB1 has no
detail data?

Thank You
Rico Koegelenberg

Comments

  • edited October 2001
    You should be able to have either configuration. The subreport which has
    SkipWhenNoRecords false should cause the master to be printed, eventhough
    the other detail dataset is SkipWhenNoRecords. I played around with this in
    a simple report and the master always prints when one of its empty detail
    datapipelines is SkipWhenNoRecords = False. What behavior are you seeing?

    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.