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

Datapipeline in TppDetailband

edited July 2005 in General
Hi,

I need some information of datapipelines in the tppdetailband object. This
property exists but in the Delphi IDE you can't define it. The dialog in
report builder shows only one pipeline, too. But that's the general pipeline
of the report. I set it manually in rtm-file with an editor in the past. Now
I must change that definition by programming.

I defined the following sequence:

Zaehler := 0;
Repeat
if not(ParamReport.Bands[Zaehler] Is TppDetailband) then
Zaehler := Zaehler + 1;
until (Zaehler > ParamReport.BandCount) OR (ParamReport.Bands[Zaehler]
Is TppDetailband);

if ParamReport.Bands[Zaehler] is TppDetailBand then
begin
if ((ParamReport.Bands[Zaehler] AS TppDetailBand).DataPipeline <>
ppBDEPipeline1) then
(ParamReport.Bands[Zaehler] AS TppDetailBand).DataPipeline :=
ppBDEPipeline1;
end;

I debugged it - the property was set but it didn't make a difference as I
checked it in the designer. Does anybody have an idea?

Cheers,
Ingo

Comments

  • edited July 2005
    Hi Ingo,

    This property was deprecated as of RB 5.02. The only way to traverse
    separate datasets other than the one connected to your main report is to use
    Subreports.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2005
    This is a multi-part message in MIME format.
  • edited July 2005
    This is a multi-part message in MIME format.
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2005
    This is a multi-part message in MIME format.
  • edited July 2005
    Hi,

    here I am again. I test my sequence in another simple project - it works! I
    will see where is the problem in this special report. Don't search a
    solution any longer. But the tppdetailband object must contain this property
    in the following report builder versions.

    Thanks a lot and have a nice weekend.
    Ingo

This discussion has been closed.