TECH TIP: Display DataPipeline.MasterFieldLinks Editor in code uses ppForms, ppFLnkEd; procedure TForm1.DisplayFieldLInkEditor; var lFormClass : TFormClass; lFieldLinkEd: TppCustomMasterFieldLinkEditor; begin {the detail pipeline's masterdatapipeline property needs to be set prior to using the field link editor} if (myDetailPipeline.MasterDataPipeline = nil) then myDetailPipeline.MasterDataPipeline := myMasterPipeline; {get the registered field link editor class} lFormClass := ppGetFormClass(TppCustomMasterFieldLinkEditor); {create the Full Article…
Search the Wiki
Define MasterFieldLinks in Code
Tech Tip: Define Master/Detail DataPipeline Links in Code Defining a Master/Detail relationship for a DataPipeline requires that the detail pipeline have the following properties defined: 1. MasterDataPipeline 2. MasterFieldLinks At Delphi design-time you can use the object inspector and the DataPipeline’s FieldLinks editor to define the master/detail relationship. The following example illustrates how to define Full Article…
Data Traversal
TECH TIP: Fundamentals of Report Data Traversal Single Table Listing Report Assign the Report.DataPipeline property and leave the DetailBand.Pipeline unassigned. The report will traverse the data from start to end (based on the datapipeline range settings and honoring any filters you’ve placed on the datset etc.) Master/Detail Report: Assign the Report.DataPipeline property to the master. Full Article…