Sub report not calling Pipeline Get Field Value event
I am running Delphi 5 with Report Builder 5.5 Ent.
I have a report with a structure like so:
Main
|-Group Sub Report
|- Item Sub Report
|- Detail Sub Report
My detail sub report will not call the Get Field Value event when there is
data present. For the data pipelines I'm using ppJITPipeline. I have made
sure the pipeline is configured correct and the data access is setup
correctly.
Any help would be great.
Thanks,
Chris
I have a report with a structure like so:
Main
|-Group Sub Report
|- Item Sub Report
|- Detail Sub Report
My detail sub report will not call the Get Field Value event when there is
data present. For the data pipelines I'm using ppJITPipeline. I have made
sure the pipeline is configured correct and the data access is setup
correctly.
Any help would be great.
Thanks,
Chris
This discussion has been closed.
Comments
without closing the application form (destroying the report objects) The sub
report I'm having problems with will work correctly.
Below is an article that you might find helpful. Also, check out the
additional articles in the Data Access thread of the Tech Tips newsgroup
----------------------------------------------------
Tech Tip: Use Master/Detail JITPipelines
----------------------------------------------------
To use Master/Detail relationship with the JITPipeline:
1. Check out the demo dm0139 in the main demo reports app
for an example.
2. Make sure you have the Detail JITPipeline.MasterFieldLinks
defined to specify the relationship. In dm0139 the detailed it
linked to the master using the CustNo field from each pipeline.
3. Once you have things setup like the above, then you will need
to connect the Report.DataPipeline property to the master JITPipeline
and the SubReport.DataPipeline property to the detail JITPipeline.
4. In the FormCreate event set each JITPipeline.RecordCount
property to the total number of records for each.
You should not need to reset anything.
6. ReportBuilder expects the data in the detail dataset
to be in sorted order of the field links.
In dm0139, the linked field is the CustNo, therefore
the detail data must be order like this:
CustNo OrderNo
------ -------
1 001
1 002
1 003
2 010
2 009
2 005
--
Tech Support mailto:support@digital-metaphors.com
Digital Metaphors http://www.digital-metaphors.com
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com