Datapipeline in TppDetailband
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
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
This discussion has been closed.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
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