Toggle navigation
ReportBuilder Support Forums
Categories
Discussions
Activity
Sign In
Home
›
General
ReportBuilder 22.06 now available including Delphi 12.2 support!
New Blog Posts: Merging Reports -
Part 1
and
Part 2
Report in run time
rbuser
September 2002
edited September 2002
in
General
Hello,
I want to create a TppDBText in run time.
How can I link this ppDBText with a TppJITPipeline ?
This TppJITPipeline also in created in run time.
Thanks
Marina
Comments
digitalmetaphors
September 2002
edited September 2002
Here's some sample code:
DBText := TppDBText.Create(Self);
DBText.Band := aReport.GetBand(btDetail, 0); {detail band}
DBText.Left := 2.5625;
DBText.Top := 0.0313;
DBText.Width := 0.625;
DBText.DataPipeline := aReport.DataPipeline;
DBText.DataField := 'ItemNo';
DBText.Transparent := True;
Here is an example which creates an entire report in code:
http://www.digital-metaphors.com/tips/DynamicReportCreation.zip
Cheers,
Jim Bennett
Digital Metaphors
Digital Metaphors Corporation
http://www.digital-metaphors.com
info@digital-metaphors.com
This discussion has been closed.
Comments
DBText := TppDBText.Create(Self);
DBText.Band := aReport.GetBand(btDetail, 0); {detail band}
DBText.Left := 2.5625;
DBText.Top := 0.0313;
DBText.Width := 0.625;
DBText.DataPipeline := aReport.DataPipeline;
DBText.DataField := 'ItemNo';
DBText.Transparent := True;
Here is an example which creates an entire report in code:
http://www.digital-metaphors.com/tips/DynamicReportCreation.zip
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com