TECH TIP: Manual Master/Detail JITPipelines
In some applications, you may want to implement a master/detail JITPipeline relationship in which you programmtically control the detail data that is available for each master record.
- Create two JITPipelines and implement the OnGetFieldValue event in the standard way.
- For the detail JITPipeline, leave the MasterDataPipeline and MasterFieldLinks properties unassigned.
- For the master JITPipeline, use the OnRecordPositionChange event to initialize the detail JITPipeline:
myJITDetail.Close;
myJITDetail.RecordCount := {get detail record count}
myJITDetail.Open;