A ReportBuilder report is composed of a set of components. Like other standard Delphi components, the components which make up the report layout have a run-time interface. That is they can be created and configured using Object Pascal code. A complete example of creating a report entirely in code is contained in the Developers Guide. Full Article…
Search the Wiki
Create Group in Code
TECH TIP: Create a Group in Code Question: “How can I dynamically create a report group at run-time?” Example code: uses ppClass, ppGroup, ppClasUt; function AddGroupToReport(aBreakName: String; aDataPipeline: TppDataPipeline; aReport: TppCustomReport); var lGroup: TppGroup; lGroupBand: TppGroupBand; begin {add group to report} lGroup := TppGroup(ppComponentCreate(aReport, TppGroup)); lGroup.Report := aReport; lGroup.BreakName := aBreakName; lGroup.DataPipeline := aDataPipeline; {add group Full Article…
Calculating Dynamic Height of Detail Band
TECH TIP: Calculation Dynamic Height of Detail Band Sometimes you need to know the stretched height of a dynamically sized detail band after it has printer to perform further logic. This can be done by keeping track of where the report engine currently is on the page and where it was right before that. For example: Full Article…