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

Master/Detail Confusion

edited October 2001 in General
Hi

I have a master/detail report where the Report component, DataSets,
DataSources and DBPipelines are situated on a TForm component. I don't use
the so called DataViews (thus I don't use the DADE?). My detail DataSets
have there MasterSource and MasterFields properties setuped, BUT the
'MasterDataPipeline' and 'MasterFieldLinks' properties of the DBPipelines
connected to these datasets, are not setuped. The report generates 100%
correctly.

Jim Bennet gave the following reply on one of my messages:

'Our DADE linking implementation creates the same data pipeline objects and
these properties are used internally by DADE. You don't need to set these
two DBPipeline properties, when their datasets are already linked.'

He's talking about the 'MasterDataPipeline' and 'MasterFieldLinks'
properties.

NOW, I'm not using the DADE (as I understand it). When you use the DADE,
you must make use of DataViews - which are created on the 'Data' tab of the
Report Designer. So if I'm not using the DADE, must I still manually set
these two DBPipeline properties. I'm NOT doing it right now, and my report
are generating correctly. Thus I assume the properties don't have to be set
manually, even if your not using the DADE. That is if I understand the term
DADE correctly - which I think I don't.

PS: I must add - When these 2 properties ARE manually setuped for my detail
datasets, the report generates much slower. Thus, the following statement
in the RB help confuses me:

'Setting this property causes the data pipeline to be represented within the
Data Tree of the Report Designer as nested within the data pipeline
specified in master data pipeline. For the DBPipeline and BDEPipeline
classes this property is informational only and does not trigger any
automatic record filtering logic '

If they say this, why does the report generates much slower??

Thanks
Rico Koegelenberg

Comments

  • edited October 2001
    Hi Rico,

    See my reply to your post "Problem with Parameters in Queries" below.

    Pierre
This discussion has been closed.